The noise that is thunder is created when the air around lightning gets rapidly heated and expands at a rate faster than the speed of sound.