How can steam be changed back into water?

By removing heat energy from the steam.