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.