In many plays, characters use soliloquies or asides to express their inner thoughts to the audience, often revealing motivations and emotions that are not shared with other characters. Consider Shakespeare's Hamlet, where the protagonist frequently reflects on his feelings about revenge, mortality, and his own indecisiveness. In the context of this play, what is the primary purpose of Hamlet's soliloquies?