monologue or soliloquy; lines in a play, movie, or book where a character expresses their inner thoughts or feelings aloud while alone or to the audience
to soliloquize
to deliver a monologue or soliloquy; to express one's inner thoughts to the audience while alone on stage