Pineal gland:

an outgrowth of the diencephalon, the pineal gland is an endocrine organ. It secretes melatonin, a hormone involved in regulating circadian rhythms and the sleep cycle.

Learn more: Know your brain - Pineal gland

2-Minute Neuroscience - Pineal Gland