Thunder is produced by lightning. A lightning bolt is hotter than the surface of the sun. The lightning heats the air in its path and the heated air expands very rapidly. This expanding air causes vibrations in the surrounding air and this is interpreted as the sound we call thunder.
The collision of Positive and negative electron makes Thunder And Lightning.
Hot air and Cold air chasing each other around and around