The sleep aids market — which includes herbal remedies and melatonin products but not prescription sleep medicine — generated more than $5.2 billion in worldwide revenue this year.