Melatonin is a hormone that regulates the circadian rhythms in the body like thee sleep wake cycle. Melatonin when taken as a supplement is absorbed directly by the body so it affects the body immediately since it goes to the bloodstream directly after it is dissolved in the body.