The law of conservation of mass states that in any closed system the mass of the system is neither created nor destroyed over time i.e, the mass cannot be changed overtime.
The nutrients that provide energy are carbohydrates, proteins and vitamins. The other three nutrients--vitamins, minerals, and water do not provide energy.