A warm, less-dense air mass and a cool, denser air mass advance toward each other and collide, forcing the warm air to rise sharply along the frontal boundary. That lifted, moist air cools, condenses, and falls as rain, while charge separation inside the turbulent cloud mass discharges as lightning. The swirl after impact mimics the rotational shear seen at real frontal boundaries.