are glands part of the nervous system?
The activity of the pituitary gland is however controlled by the hypothalamus which as well as being an endocrine gland, is also part of the nervous system. Along with the nervous system, the endocrine system coordinates the body's functions to maintain homeostasis during rest and exercise.