As the warm air rises, it expands and loses heat, so it can hold less water, so it rains where the air is rising.
(the warm air; rises; ) (it; expands; T:As the warm air rises) (it; loses; heat) (it; can hold; less water)
the warm air it it it
rises expands loses can hold
T:As the warm air rises
heat
less water