An example of lightning used as an adjective is lightning speed which means moving very quickly.
A cat's lightning reflexes.
The lightning was hot enough to melt the sand.
That tree was hit by lightning.
An example of lightning is the flash of light often seen before the thunder is heard.