Step 1 : Introduction to the question " What is a soliloquy? "
...
It's a monologue, an act of speaking one's thoughts aloud when by oneself or regardless of any hearers, especially by a character in a play.
It was popularized by William Shakespeare where he uses them as a device in drama. In a soliloquy, a character typically is alone on a stage and make their thoughts, feelings, and intentions known to the audience.
Some famous soliloquies are:
“To be or not to be......” – Hamlet, Hamlet Act 3 Scene
"Eyes, look your last!......" - Romeo and Juliet Act 5 Scene 3
More Info:
en.wikipedia.org