what is this

I was struggling to figure out how lightning works, and then it hit me,

1. metaphor
2.assonance
3.alliteration
4.pun