Melatonin is a hormone that controls our sleep-wake cycles, also known as our circadian rhythms or biological clocks. During the day, our melatonin levels remain low, allowing us to remain awake and alert. At night, darkness stimulates our pineal gland to produce melatonin.