How far away was that lightning?
https://phys.org/news/2018-06-lightning.html
So what happens when a big storm rolls in?
The lightning you see is the discharge of electricity that travels between clouds or to the ground. The thunder you hear is the rapid expansion of the air in response to the lightning's intense heat.