Melatonin is crucial for regulating the body's internal clock by indicating when it is time to sleep…