Melatonin is a hormone that is secreted by a part of the brain called the pineal gland. The synthesis of melatonin begins with L-tryptophan which is converted into 5–HTP then to serotonin and then to melatonin. Production of melatonin is under the influence of part of the brain known as the hypothalamus. The hypothalamus receives informat