What happens when air is cooled?
Relative humidity increases.
Dew point is reached (100% relative humidity).
Water vapour (invisible) condenses to form water droplets (visible).
Sometimes the water vapour may change straight into solid state: called sublimation.