When water vapor is cooled enough, it condenses.