Thunder and lightning are both natural phenomena that occur when atmospheric conditions cause an electrical discharge in the atmosphere. Thunder is the sound created by the shockwave of the lightning event and is caused by the rapid heating of the air around the lightning bolt. Lightning is an electrical discharge between the clouds, the air, and the ground.