Since melatonin is a hormone that regulates our circadian rhythm, or the sleep-wake cycle, taking additional melatonin through supplements or sleep patches appears to help fix irregular sleep patterns.