How does water evaporate condense and then precipitate?

Condensation is the reverse of evaporation; both are steps in the water cycle.