The pineal gland is situated deep while in the brain and attached by a stalk to the top of the 3rd ventricle. The pineal gland responds to light-weight and dim and secretes melatonin, which regulates circadian rhythms plus the rest-wake cycle.The hypothalamus is located higher than the pituitary gland and sends it chemical messages that Regulate it