The first law of thermodynamics is concerned with the conservation of energy. The key concept in this law is that the change in internal energy is equal to the heat that flows into the system minus the work done. This is the same as saying that if we apply heat to the system, the system may store it as internal energy or use it to perform the work.