Your body is always consuming energy. While you sleep your heart is pumping, your hair and nails are growing, and your brain is active with dreams. As you sleep, your body is still "on" and burning calories. Just not as many as you do as you go about your day.