Answer:
B. When the audience knows something that the characters in a text
Step-by-step explanation:
Dramatic irony is a plot device often used in theater, literature, film, and television to highlight the difference between a character's understanding of a given situation, and that of the audience. It helps to keep the fourth wall stable.