After Horatio witnessed the ghost of the former king, he told Hamlet to go with them and watch the ghost himself. Ghost appears and talk to his son, Hamlet. Ghost reveals how he died and how his brother killed him to receive the crown and kingdom.
While Claudius and Gertrude are planing to put Guildenstern and Rosencrantz spying on Hamlet and see why he act mad; Hamlet is planning to put on a play representing the murder scene of his father.
Hamlet sees Claudius sad and praying and attempt to kill him but then he thinks and see that killing Claudius during pray will not send him to hell. Hamlet do not kill him and leave the room.
Claudius decides to send Hamlet to England so he might get better and stop his madness. Rosencrantz and Guildenstern are going to with Hamlet too.
Hamlet accepted the duel fight with Laertes. They fight and as a result of poison in the drink and sword all of them die and the only survivor of the fight is Horatio.
Fortinbras and his troops take over the Elsinore castle. Horatio reveals to Fortinbras that before dying Hamlet gave vote for him to become king of Denmark. Fortinbras promises to give Hamlet a proper burial.