Which of the following describes a pun

the final sentence of a joke that contains the punchline

The final sentence of a joke that contains the punchline is an example of a pun.