Melatonin is a naturally occurring hormone produced by the pineal gland in the brain. It plays a crucial role in regulating the body's sleep-wake cycle, also known as the circadian rhythm. Melatonin levels typically rise in the evening, promoting sleep, and fall in the morning, helping to wake us up.