Overview: Melatonin is a hormone secreted by the pineal gland in the brain. It helps regulate other hormones and maintains the body's circadian rhythm. The circadian rhythm is an internal 24-hour "clock" that plays a critical role in when we fall asleep and when we wake up.