Diabetes is a lifelong condition that causes your blood sugar level to become too high. Endocrinology is the diagnosis and treatment of problems caused by the glands that produce hormones to regulate your metabolism. This can include diabetes, nutritional disorders and sexual problems.