The most common use of dramatic irony in a text is to

create suspense or tension for the audience or reader. By revealing information that the characters are unaware of, dramatic irony can build anticipation and keep the audience engaged as they wait to see how the characters will react to the eventual revelation of the true situation. This technique can also be used to create humor, as the audience feels a sense of superiority in knowing more than the characters on stage or in the story. Overall, dramatic irony serves to heighten the emotional impact of a narrative and add depth to the storytelling.