The law of conservation of energy states that energy can neither be created nor be destroyed. But it can be converted from one form to another or transferred from one object to another object.
Total energy in an isolated system always remains constant.
For example, the total energy in the universe will never change.