An endocrinologist is a doctor who diagnoses and treats disorders of the endocrine system, which includes conditions like diabetes. Whereas a diabetologist is a physician who focuses primarily on the diagnosis, treatment, and management of diabetes. While both may treat diabetes, an endocrinologist has a broader scope of practice encompassing other endocrine disorders.