Just as heat is needed to evaporate water, that heat is released to the atmosphere when water vapor condenses.
(that heat; is released; to the atmosphere) (water vapor; condenses; )
that heat water vapor
is released condenses
to the atmosphere