Melatonin is a hormone that regulates the sleep-wake cycle. It is naturally produced by the body, but supplements can be taken to help with sleep problems. Melatonin is particularly useful for those with insomnia related to circadian rhythm disruptions, such as jet lag or shift work.