D. to develop the characters by revealing their emotions and private thoughts
Soliloquies are often used in plays to allow characters to express their inner thoughts, feelings, and motivations, providing the audience with insights into their psychological states and helping to develop the characters more deeply.