noun

malapropism

mal·a·prop·ism, MAL-uh-prop-iz-um, from French

An incorrect word choice in which the intended word is replaced by a similar-sounding word, sometimes producing a humorous result.

“Calling an alligator an allegory is a malapropism.”

In the picture: The chef means the herb but says a similar-sounding word, so the assistant brings something unexpected.

Where it comes from

The word comes from Mrs. Malaprop, a character in a play by Sheridan, whose name is based on the French phrase mal à propos, meaning inappropriate.