wordplay
Noun
B2 – Upper-Intermediate
The clever or humorous use of words, especially by exploiting multiple meanings or similar sounds.
A pun is one common form of wordplay, but wordplay can also include rhyme, spoonerisms, and other tricks with language.