Melatonin is a hormone that helps our bodies know it's time to go to sleep. Darkness triggers our brains to make melatonin, which can also be made in supplement form. While a melatonin supplement may make it easier to fall asleep, it is important to understand and address the underlying cause of your sleep issues. Good sleep hygiene, regular exercise, and managing stress and anxiety can help promote restful sleep.