What Comes First Lightning Or Thunder?

Lighting and thunder can come seperately sometimes. Thunder is usually the result of lightning, but sometimes thunder can be heard with no lightning.