In the realm of drama, monologues often provide insight into a character's inner thoughts and motivations. Consider a scene from a fictional play where the protagonist, Emma, stands alone on stage, reflecting on her life's choices. She states, "I never thought I'd end up here, in the ruins of my own ambitions. Each decision was a step taken in the dark, chasing shadows instead of light. Yet, perhaps there's beauty in this chaos, a chance to rebuild and redefine what I truly want."
This monologue serves to reveal Emma's complex emotional state. Based on this excerpt, what is the primary function of Emma's monologue in the context of the play?