Irony is a powerful literary device that can be used in various ways. Whether to create humor or emphasize an irrationality, irony draws attention.
For example, presenting an image that is both falling apart and coming together draws attention to the fact that we are still determining which outcome is being suggested. This creates an incongruity between what is expected and presented, creating a sense of irony.
As a figure of speech, irony is the intended meaning that opposes the literal meaning of the words expressed.