Sweet dreams are made of Zzzs, but if you're having trouble catching your recommended eight hours, melatonin can help. Melatonin is a naturally occurring hormone produced by the pineal gland in the brain. It's involved in the regulation of a variety of diverse bodily functions- most notably sleep.