The law of conservation of energy states that energy can neither be created nor destroyed, but can be converted from one form to another. This means that the total amount of energy in a system remains constant, regardless of any changes within the system.