Endocrinologists diagnose and treat conditions that affect the endocrine system, such as thyroid disease and diabetes. Endocrinology is the branch of medicine that deals with disorders of the body’s glandular or endocrine system and its secretions, which are known as hormones.