Hamlet asks the players to perform "The Mousetrap" (also titled "The Murder of Gonzago").
It's a play-within-a-play depicting a king poisoned while sleeping—mirroring King Hamlet's murder. Hamlet uses it to test Claudius's guilt by observing his reaction.