Thunder is a sound that is due to lightning. Though thunder and lightning happen at the same time, we see the lightning before we hear the thunder because the speed of light is greater than the speed of sound in air. Therefore, we see the flash of lightning before we hear the sound of lightning (thunder).