The three ingredients
Every thunderstorm recipe starts with the same three things: moist air near the ground, unstable air — warm below and cold above — and something to give the warm air a first push upward. A weather front, a hillside, or simply fierce sunshine heating the ground can do it.
Once warm air starts rising, it cools, its moisture condenses into a growing cumulus cloud, and the condensation itself releases heat that fuels more rising. If the conditions are right, the cloud towers into a cumulonimbus that can reach the top of the troposphere, around 12 kilometres up.
Where lightning comes from
Inside the storm, ice crystals and soft hail pellets collide in violent updrafts, and the collisions strip electrons from one to the other. Charge builds up — negative toward the cloud’s base, positive toward its top — until the air itself cannot hold the difference.
The discharge is lightning: a channel of air heated hotter than the surface of the Sun in a fraction of a second. Thunder is the sound of that air expanding explosively, arriving at your ears after the flash because sound travels so much more slowly than light.
A word on safety
Thunderstorms are beautiful and genuinely dangerous. Lightning can strike well ahead of the rain, so the old rule remains the right one: when thunder roars, go indoors, and wait a good while after the last rumble before heading back out.

