Hamlet is a tragedy written by William Shakespeare. The play is a tragedy that explores the theme of friendship, madness, and revenge. Hamlet revolves around the notions of deep revenge, and psychological problems similar to madness and portrays the political and ethical corruptions of the time. The play is basically centered around King Hamlet’s death.