(2) in the Brain Explanation: The pineal gland is a small endocrine gland in the vertebrate brain. It produces the serotonin derivative melatonin, a hormone that affects the modulation of wake/sleep patterns and, seasonal functions. Its shape resembles a tiny pine cone (hence its name), and it is located near the centre of the brain.