Wit is a form of intelligent humour, the ability to say or write things that are clever and usually funny. Someone witty is a person who is skilled at making clever and funny remarks. Forms of wit include the quip, repartee, and wisecrack.
A quip is an observation or saying that has some wit but perhaps descends into sarcasm, or otherwise is short of a point, and a witticism also suggests the diminutive.
Wit in poetry is characteristic of metaphysical poetry as a style, and was prevalent in the time of English playwright Shakespeare, who admonished pretension with the phrase "Better a witty fool than a foolish wit". It may combine word play with conceptual thinking, as a kind of verbal display requiring attention, without intending to be laugh-aloud funny; in fact wit can be a thin disguise for more poignant feelings that are being versified. English poet John Donne is the representative of this style of poetry.
More generally, one's wits are one's intellectual powers of all types. Native wit — meaning the wits with which one is born — is closely synonymous with common sense. To live by one's wits is to be an opportunist, but not always of the scrupulous kind. To have one's wits about one is to be alert and capable of quick reasoning. To be at the end of one's wits ("I'm at my wits' end") is to be immensely frustrated.