An endocrinologist diagnoses and provides medical treatment for endocrine disorders, but does not perform surgeries. Endocrine surgeries are performed by endocrine surgeons.