Melatonin, a hormone naturally produced by the body, plays a crucial role in regulating sleep-wake cycles. However, factors like stress, jet lag, or irregular schedules can disrupt melatonin production, leading to difficulties falling asleep or staying asleep.