Heating and cooling can change a substance from one state of matter to another. These phase changes depend on internal energy, which is the total kinetic energy of particles and the potential energy from their interactions. In the condensed phases, stronger intermolecular forces and the pressure on the substance affect that internal energy. The internal energy is highest in the gaseous state, lowest in the solid state, and in between for the liquid state.
Phase transitions happen when...