The total energy of all particles in a substance is