Endocrinology focuses on the endocrine system, which produces hormones that regulate various body functions, including metabolism, growth, and sexual development. Diabetes, a common endocrine disorder, disrupts the body's ability to regulate blood sugar levels due to problems with insulin production or function.