Conservation of energy, principle of physics according to which the energy in a closed system remains constant. Energy is not created or destroyed but merely changes forms. For example, in a swinging pendulum, potential energy is converted to kinetic energy and back again.