The pituitary gland (or "hypophysis") is an important part of the endocrine system. It is at the base of the brain between the eyes. The pituitary is attached to the hypothalamus, which is also a gland. The pituitary controls a whole range of vital functions by secreting hormones.