which part of the brain is called the master gland
The pituitary controls the function of most other endocrine glands and is therefore sometimes called the master gland. In turn, the pituitary is controlled in large part by the hypothalamus, a region of the brain that lies just above the pituitary.