Why would a playwright use dramatic irony?
to increase the tension the audience feels
to withhold meaningful details from the audience
to tell the actors how to say their lines
to show a director how a scene should be acted out