what type of figure of speech is a pun?
Example is a "I was struggling to figure out how lightning works, then it stuck me."