An endocrinologist is a medical doctor that specializes in the study of hormones and treats hormone-related conditions, including: diabetes, thyroid disease, under- or over-production of certain hormones such as testosterone, osteoporosis, cholesterol disorders and various cancers of the endocrine glands. The most common thing they treat is uncontrolled diabetes.