A monologue is a speech given by a single character in a story. In drama, it is the vocalization of a character’s thoughts; in literature, the verbalization.
Explanation:
A monologue speaks at people, not with people. Many plays and shows involving performers begin with a single character giving a monologue to the audience before the plot or action begins. Monologues give the audience and other characters access to what a particular character is thinking, either through a speech or the vocalization of their thoughts. While the purpose of a speech is obvious, the latter is particularly useful for characterization: it aids the audience in developing an idea about what the character is really thinking, which in turn helps (or can later help) explain their previous (or future) actions and behavior.