Which of the following describes a pun

The use of a noun to serve as the verb in a sentence
The final sentence of a joke that contains the punchline
A joke using words that sound alike, but have different meanings
A playful use of synonyms to achieve humor in writing

A joke using words that sound alike, but have different meanings