A soliloquy is a monologue in which a character speaks to himself or herself. The purpose of a soliloquy is to inform the readers or audiences about what the character is thinking. It allows the audience to understand the character's secret intentions etc.