The pituitary gland secretes and stores hormones, which it uses to stimulate your other glands. Your hormones regulate a variety of body functions, such as temperature, urine production, thyroid activity, growth in children, and the production of sex hormones (testosterone in men and estrogen in women). This makes your pituitary gland pretty important.