When you sleep, you give your body the opportunity to recharge and recover from the activities of the day. When you lack proper sleep, you are more likely to indulge in sugary treats. Inadequate sleep can also impact your ability to metabolize glucose.