Thunderstorms require three conditions: atmospheric instability, sufficient water vapor, and a lifting mechanism to trigger formation. There are two main types of thunderstorms: heat or airmass storms caused by daytime heating, and frontal storms that form along weather fronts. Thunderstorms pose several hazards to aviation including turbulence, wind shear, icing, lightning, hail, downbursts, and static electricity buildup on aircraft surfaces.