Answer
Total energy is conserved. A person who expends less energy than s/he takes in will store energy in the body's chemical energy reserves, i.e., fat. One who expends more energy than is consumed will tap into fat reserves.
An undernourished person cannot perform extra work for very long before requiring extra food.