Melatonin is a hormone produced in the pineal gland in your brain and is also present in very small amounts in some foods like pistachio nuts, rice, milk, eggs, salmon and beef.