How does lightning form?
Lightning forms when electric charges build up inside a storm cloud and then suddenly release. Collisions between ice particles separate the charges, and when the difference grows large enough, electricity jumps through the air as a giant spark.
Inside a thunderstorm, strong updrafts carry water droplets and ice high into the cloud. Small ice crystals and soft hail called graupel collide with each other.
These collisions transfer electric charge. Lighter, positively charged ice crystals are carried to the top of the cloud, while heavier, negatively charged particles gather lower down.
The strike
Air normally stops electricity from flowing. But when the charge becomes strong enough, a faint channel called a stepped leader zigzags down from the cloud.
As it nears the ground, a streamer reaches up from a tall object, such as a tree. When they connect, a powerful return stroke races back up the channel. That is the bright flash we see.
Most lightning stays inside clouds or jumps between them. Only a portion strikes the ground.
A lightning bolt can heat the air to about 50,000°F (27,800°C), around five times hotter than the surface of the Sun.
That sudden heat makes the air expand explosively, producing thunder.