It is important to sleep at cooler temperatures so that your body does not overheat. If you overheat when sleeping, then this compromises your production of melatonin, the body’s sleep hormone. In the absence of melatonin, you are less sleepy, more likely to wake up, and less likely to fall asleep again.