Hamlet is a famous tragedy written by William Shakespeare about the Prince of Denmark. The play tells the story of Hamlet, the son of the late king who is visited by his father's ghost, which claims that his uncle murdered him and married his widow. It explores themes of revenge, incest, and the impact of deceit.