Lightning shards are used for the lightning spell. The quest the power of lightning makes you get 15 of these shards, which is how you get the lightning spell.
P.S. - I know this is an absolutely terrible page. I just wanted ma peeps to get a basic idea of this, so fix this terriblee page.