As warm air rises with the water vapor (water in the form of gas), it cools.
(warm air; rises; ) (it; cools; T:As warm air rises with the water vapor)
warm air it
rises cools
T:As warm air rises with the water vapor