soliloquy

Definition

A speech in a play where a character speaks thoughts aloud, usually alone on stage.

Example

"In Hamlet's famous soliloquy, he debates whether to endure life's struggles or end them."