Wit involves relating an incident that takes an unexpected turn at the end. This is a technique which is often used in jokes, but sometimes in longer literary works such as stories and novels. Authors like to use wit in order to confuse their listeners and readers, to keep them on edge and to prevent them from figuring out what the ending can be before the ending is actually there.