when changing state from a solid to liquid, or from a liquid to a gas, heat energy is used to overcome the forces between the particles
particles in a gas have more kinetic energy, and are further apart from one another, than particles in a solid or liquid
when a substance cools and condenses, the particles have insufficient energy to overcome the forces between them, so they get closer together and can move around less freely