Why is thunder so loud?

Lightning heats air so fast it explodes outward — that boom is thunder.