King Hamlet recently died and his son Hamlet feeling down long after the event. He has suspicious thought that something is wrong in the kingdom. Group of soldiers see the ghost and report it to the Hamlet, from which he reveals that his father was killed by his brother Claudius in order to take the crown.
Hamlet feels suicidal and questions himself if he should take the revenge on the Claudius. He struggles with an authenticity of the "ghost", and indecision about his actions.
To make sure that the ghost of the King Hamlet was right, Hamlet sets the theatrical play to imitate the killing of the king where Hamlet is described as being killed. He wants to get the reaction on the Claudius' face during the murder scene, which he eventually does after Claudius leaving the play. This reaction proves Hamlet that Claudius killed his own brother.
After the play, Claudius confesses in the murder in the soliloquy. He starts to pray in his own room and Hamlet overhears that. He wants to kill Claudius but stops, because he believes that the murderer will be sent to heaven if killed while praying.
Hamlet comes to his mother in rage and accidentally kills Polonius that was hiding behind the curtains. Claudius wants Hamlet to be killed, Hamlet escapes and then comes back, Ophelia drowns in the river. Hamlet agrees to have a fencing duel with Laertes, who plans to kill him with Claudius.
At the match, Laertes poisons the tip of his sword. Claudius poisons the cup for Hamlet, but Gertruda accidentally drinks from it and dies. Hamlet forces Claudius to drink the poison and they both die. By the end of the play, only Horatio is left to tell the story.