Question: what happens when different types of air masses collide?
Answer: When two different air masses come into contact, they don't mix. They push against each other along a line called a front. When a warm air mass meets a cold air mass, the warm air rises since it is lighter. At high altitude it cools, and the water vapor it contains condenses.