Since the speed of light is much greater than the speed of sound, the flash of light is seen much before hearing thunder.