Answer:
The play-within-a-play tells the story of Gonzago, the Duke of Vienna, and his wife, Baptista, who marries his murdering nephew, Lucianus. So Hamlet believes that the play is an opportunity to establish a more reliable basis for Claudius's guilt.