Melatonin 60 is produced by the pineal gland in your brain. Melatonin declines sharply in middle age and continues to drop with every passing year. Melatonin is needed to make serotonin, a mood-supporting hormone that also supports memory and cognitive function.