Dramatic irony is a literary device in which the audience knows something that the characters in the story do not. This can create a sense of suspense and anticipation, as the audience waits to see how the characters will react when they finally learn the truth.