Endocrinology is a medical specialty that involves the treatment of endocrine glands like the pancreas, pituitary, thyroid, and many more. Diabetology is a specialty in endocrinology that focuses on diabetes.