To understand why sleep is important, think of your body like a factory that performs a number of vital functions. As you drift off to sleep, your body begins its night-shift work: 1  Healing damaged cells. 2  Boosting your immune system.  Recovering from the day’s activities.