As the air rises and expands, the heat it contains is spread over a larger area, and its temperature decreases with altitude.
(the air; rises; ) (the air; expands; ) (the heat; contains; it) (the heat it contains; is spread; L:over a larger area) (its temperature; decreases; with altitude)
the air the air the heat the heat it contains its temperature
rises expands contains is spread decreases
it
L:over a larger area
with altitude