How does Condensation Occur?

Condensation occurs when water molecules in the air are cooled very rapidly. When this happens they go from the gaseous phase to the liquid phase. So when you breath onto a window on a cold day the water vapor in your breath is cooled very rapidly to make condensation.