The mechanism of lightning in a simple :
Lightning occurs because of the cloud, where the clouds formed by air, vapor, dust, and heat. The continuous cloud formation process causes the formed of clouds is not steady or so-called comulunimbus cloud, because in the cloud any moving air that makes material likes dust and vapor in clouds move in. At a certain height and at a certain temperature, the material forming of a cloud to be ice crystals and because of the crystal ice more heavy then the friction happen between a cloud and crystal ice, This friction causes a charge separation in the cloud.
Nobis Kato
Nobis Luna
If a cloud exposed to gusts of wind, as if a cloud would like to earth induction. If the elektrogeometri equilibrium between the cloud and the earth disturbed, because of tree or building can be occurrence of the charge jumps. This event is called lightning . . .