An endocrinologist is a doctor that treats diseases related to problems with hormones. Hormones are secreted by endocrine glands, such as the pituitary, thyroid or adrenal glands. You can also observe that problems with hormones and the way they work contribute to some of the major diseases of mankind, for example, diabetes, thyroid conditions, pituitary conditions, etc.