The pineal gland, an aa kent as the pineal body, conarium or epiphysis cerebri, is a smaa endocrine gland in the vertebrate brain. It produces melatonin, a serotonin derived hormone, which affects the modulation o sleep patterns in baith saisonal an circadian rhythms.