The first law of thermodynamics is a statement of
conservation of energy
The law of conservation of energy states that the total energy of an isolated system is conserved. The first law of thermodynamics restates this law in terms of heat added to a system the amount of work it does and the internal energy of the system in terms of its kinetic energy.