Endocrinology is the branch of medicine that focuses on the endocrine system, which consists of glands that produce hormones. Hormones are chemicals that regulate many important body functions, including metabolism, growth, mood, and reproductive processes. Endocrinologists specialize in diagnosing and treating conditions related to hormone imbalances.