Melatonin is a naturally occurring hormone produced by the pineal gland in the brain. It plays a crucial role in regulating the sleep and wake cycle, also known as the circadian rhythm. Melatonin levels typically rise in the evening, signaling to your body that it's time to prepare for sleep.