ConceptPhase transitions
A substance changes phase when a rival arrangement of its molecules, not hotter or colder but more stable at the current temperature and pressure, becomes favorable, and every joule spent making that change happens at constant temperature.