A popular sleep aid Melatonin is a hormone that the brain releases when it gets dark. Many people buy melatonin as a sleep aid because they think it is natural and safe. In some countries you need a doctor’s prescription, but in others you can buy it over the counter.