Diabetes mellitus is a chronic condition that occurs when the pancreas does not produce enough insulin or the body cannot effectively use it. This primarily disrupts the metabolism of carbohydrates, leading to elevated blood glucose levels. While it can affect fat and protein over time, its primary definition involves sugar processing.