das Wortspiel
pun
A rhetorical figure in which the ambiguity or phonetic similarity of words is used in a clever or humorous way.
Der Komiker war bekannt für seine cleveren Wortspiele.
The comedian was known for his clever puns.

pun
Loading your saved state.
pun
A rhetorical figure in which the ambiguity or phonetic similarity of words is used in a clever or humorous way.
Der Komiker war bekannt für seine cleveren Wortspiele.
The comedian was known for his clever puns.

The word is made up of 'Wort' (word) and 'Spiel' (game/play). It therefore describes a playful way of dealing with words and their meanings.
Sein Text ist voller kreativer Wortspiele.
His text is full of creative puns.
Common verbs used with 'Wortspiel' (pun) are 'ein Wortspiel machen' (to make a pun), 'ein Wortspiel verstehen' (to understand a pun), or 'ein Wortspiel enthalten' (to contain a pun).
Er liebt es, in Gesprächen lustige Wortspiele zu machen.
He loves making funny puns in conversations.
A pun often works by exploiting the ambiguity of a word or its phonetic similarity to another word. To understand a pun, you often need to know both meanings.
Der Witz basiert auf einem einfachen Wortspiel mit dem Wort „Bank“.
The joke is based on a simple pun with the word 'Bank' (bank/bench).
joke
'der Witz' and 'das Wortspiel' can both be funny. However, 'Witz' is more general: it can be a short story with a punchline or the funny point of a situation. A 'Wortspiel' is a specific kind of humor. The fun comes from the meaning or sound of words. Learners may confuse the words because a pun often feels like a joke. But when the humor is based specifically on language and double meanings, 'Wortspiel' is more precise.

Im Deutschkurs lachten alle über das Wortspiel mit den ähnlich klingenden Verben.
In the German course, everyone laughed at the pun with the similar-sounding verbs.
Nach dem langen Meeting erzählte Paul einen Witz, und die Stimmung wurde besser.
After the long meeting, Paul told a joke, and the mood improved.