William Shakespeare wrote the famous tragedy Hamlet between 1601-1602. It is set in Elsinore Castle in Denmark and follows Prince Hamlet's quest to avenge his father's murder by his uncle Claudius. The play explores themes of revenge, morality, and the difficulty of action versus thought. Hamlet struggles to act on his mission due to his introspective nature. He devises a play to prove Claudius' guilt but delays confronting the king directly. This inaction leads to escalating chaos and tragedy for Hamlet and many other characters.