Verbal irony occurs when a speaker says something but means the opposite, often for humorous or emphatic effect.
For example, imagine someone stepping outside on a rainy day, looking at the downpour, and saying, "Oh great, just what I needed today – a nice shower!"
In this case, the speaker does not actually mean that they wanted a shower; instead, they are highlighting their annoyance or frustration with the rain.