What causes lightning?
The cloud has an electric charge that generates a voltage of about 100 million volts of static electricity. It occurs when drops of rain or crystalline ice inside a storm cloud collide, lose or attach electrons, that is, they are charged. Negatively charged particles are collected below the cloud. When a negative charge becomes significant, there is an outbreak, that is lightning. This can occur inside the cloud itself or between the cloud and the earth.