Question: physician who studies and treats diseases of the endocrine system
Answer: endocrinologist