Melatonin is a hormone produced naturally by the pineal gland in the brain that plays an essential role in regulating…