It is a common axiom that while a Shakespearean tragedy should end with at least one death, a comedy should conclude with a wedding, or at least an engagement. A Midsummer Night's Dream contains three marriages, around which much of the action revolves. Theseus, Duke of Athens, and Hippolyta, Queen of the Amazons, are married, and their wedding feast occupies the entire final act of the play. At the same time, Lysander marries Hermia and Demetrius marries Helena, putting an end to the confusion between couples that complicates the middle of the drama.
These weddings all take place offstage. There is a brief allusion to them in act 4, scene 2, when Snug says:
Masters, the duke is coming from the temple, and there is two or three lords and ladies more married: if our sport had gone forward, we had all been made men.
Snug makes this rueful comment because he believes that they will not now be able to perform their play before the Duke and Duchess, since Bottom, their lead actor, is still missing. Moments later, Bottom reappears and they are ready for the hilarious performance that dominates act 5.
Shakespeare's usual practice is to have weddings happen offstage, often after the end of the play. As You Like It and Much Ado About Nothing include wedding scenes, but in A Midsummer Night's Dream, Shakespeare places the wedding feast, with its play-within-a-play, at the center of attention.