Melatonin is a hormone that is produced by the pineal gland and is intimately involved in regulating the sleeping and waking cycles, among other processes. Some people who have chronic insomnia use melatonin supplements witch is a all natural pill that boosts the melatonin that your body makes.