Name the parts of the brain which functions as endocrine glands

The parts of brain which functions as endocrine
glands are hypothalamus, pituitary body, pineal body.