A soliloquy is a speech delivered by a character alone on stage, revealing their inner thoughts, feelings, and motivations. It's a common device in drama, particularly Shakespearean plays, and it allows the audience to gain insight into the character's mind.