What is dramatic irony?

Irony that occurs when the audience is aware of something that the characters are not
Irony that occurs when a character does something funny that they didn't mean to
Irony that occurs when a character says something they didn't mean
Irony that occurs when the ending of a story isn't what you expected

Dramatic irony is a form of irony that occurs when the audience is aware of something that the characters in a story or play are not. This allows for a contrast between what the characters believe or expect and what the audience knows to be true. It often adds tension, suspense, or humor to the narrative.