Why would a playwright use dramatic irony?

to show a director how a scene should be acted out

to tell the actors how to say their lines

to increase the tension the audience feels

to withhold meaningful details from the audience