if you are talking about the play, the use of darkness highlights the emotional transformations the affect the characters throughout. Shakespeare used three contrast of light and darkness to emphasize the emotions and establish the tone of the story.