Irony is an implied discrepancy between what is said and what is meant. The use of words to convey the opposite of their literal meaning; a statement or situation where the meaning is contradicted by the appearance or presentation of the idea.
Three kinds of irony:
verbal irony is when an author says one thing and means something else.2. dramatic irony is when an audience perceives something that a character in the literature does not know.
3. irony of situation is a discrepency between the expected result and actual results.
Example:
"A fine thing indeed!" he muttered to himself.