A monologue is a speech given by one person in a play or movie. The purpose of a monologue is to reveal the speaker's thoughts and emotions to the audience and characters through a moving speech that builds to a climax. Monologues can be used to express innermost thoughts only to themselves without other characters engaging or responding to their words. They can also be used to disclose a speaker's thoughts quietly to the audience. Monologues are supposed to reveal important details about a character or the plot—it’s essential that you’ve developed the speaking character and a detailed plot for them to inhabit, even before you start writing .
For example, in Shakespeare's play Hamlet, Hamlet delivers a monologue in which he contemplates suicide. The monologue reveals Hamlet's innermost thoughts and emotions as he struggles with his own mortality.