The best definition of dramatic irony is:
C. when the audience knows something that the characters do not.
This defines the situation where the audience is aware of key information that the characters are oblivious to, creating tension or humor in the narrative.