The pituitary gland, also known as the master gland, regulates the endocrine system. It is located at the base of the brain and consists of the anterior pituitary, posterior pituitary, and intermediate lobe. The anterior pituitary secretes hormones that control growth, metabolism, reproduction, and more. The posterior pituitary stores and releases hormones produced by the hypothalamus that influence milk release and water balance. The intermediate lobe's function in mammals is unclear but it may regulate skin color. Endocrine glands communicate via feedback loops to maintain homeostasis.