The endocrine system is comprised of glands that secrete hormones to regulate various bodily functions such as growth, metabolism, mood, and sexual function. The pituitary gland is called the "master gland" as it regulates all other endocrine glands by producing hormones like growth hormone and thyroid stimulating hormone. Other important glands include the thyroid gland which regulates metabolism, the pancreas which produces insulin to regulate blood sugar, and the adrenal glands which produce hormones like epinephrine to stimulate the body during emergencies. The gonads also play an important role, with the ovaries and testes secreting sex hormones.