Melatonin is a hormone produced by the pineal gland, a small gland located in the brain. It is released in response to darkness and helps regulate the body’s sleep-wake cycles. Melatonin levels typically peak in the evening and decrease in the morning, promoting a restful night’s sleep and a refreshed morning.