When the energy input from calories is greater than the energy output from physical activity, the body stores the extra calories as fat.