Horatio is Hamlet's loyal friend and confidant in Shakespeare's 'Hamlet'. He is the only major character who survives the play, making him crucial for revealing the truth about the tragic events. Horatio witnesses the ghost, supports Hamlet throughout his quest for vengeance, and is entrusted with telling Hamlet's story: 'And in this harsh world draw thy breath in pain to tell my story.'