A phase transition is the process where a substance changes from one state of matter to another, such as from solid to liquid or liquid to gas. This process is marked by energy changes and shifts in molecular arrangement, which can significantly affect the physical properties of the substance involved. Phase transitions are crucial in understanding behaviors of real gases, how energy states relate to enthalpy and internal energy, and how equilibrium conditions change with varying temperature and pressure.