Does "lightning" mean the same thing in these two sentences?

That tree was hit by lightning.

The lightning was hot enough to melt the sand.
the same meaning