Melatonin, 5-methoxy-N-acetyltryptamin, a hormone produced by the pineal gland (epiphysis), regulates physiological functions like the circadian rhythm. It's almost entirely produced at night, as daylight inhibits its synthesis.