Puns are ambiguous; they are words (or phrases) which sound the same but which have two very different meanings used for humorous effect. (A traditional explanation of a pun is a “play on words” but since this defines everything from puns to Spoonerisms to Malapropsims to Pig Latin it really is too general to use here.)

This example illustrates a pun well:
A boiled egg for breakfast…