Thunderstorms form when warm, moist air rises into cooler layers above. As the air ascends, water vapour condenses into cloud droplets, releasing heat that adds buoyancy and lifts the air further.