Is my understanding roughly correct?Melatonin is 'generated' in the absence of specific wavelengths of light.It accumulates and is only reduced by sleep, in particular REM sleep.Melatonin and sleepiness have a causal relationship.
Understanding Melatonin
neurobiology;sleep