Diabetes mellitus is fundamentally a disorder of carbohydrate metabolism, where the body cannot properly regulate blood glucose levels due to insulin deficiency or resistance. While diabetes can affect protein and fat metabolism secondarily, the core defect involves carbohydrate processing.