Why does thunder come after lightning?

Light travels way faster than sound.