When a gas is cooled to form a liquid
Condensation forms on windows when water vapour in the air is cooled on the cooled window surface and condenses to form small water particles.