https://en.wikipedia.org/wiki/Lightning ( Reference)
What I did: I was searching the internet when I came up on an aritcle on
What I learnt: Lightning is a sudden electrostatic discharge between regieons of two opposing electricaly charged cloud. Lightning is produced when the sections of the cloud that have opposing electric charge come close enough to each other that a spark jumps between them. Lightning is seen by the light it emmits and heard by the sound it makes (Thunder). Contrary to popular belief, Lightning is not energy, but a form of plasma.(Plasma is the fourth state of matter.)A typical cloud to ground lightning flash culminates in the formation of an electrically conducting plasma channel through the air in excess of 5 kilometres (3.1 mi) tall, from within the cloud to the ground's surface. The actual discharge is the final stage of a very complex process.
Summary:Lighting is a very complex occurence.