Stream of consciousness is a narrative technique that attempts to capture the flow of thoughts, feelings, and sensations in a character's mind, often presented in an unstructured or nonlinear way. This method allows readers to experience the inner workings of a character's psyche, connecting deeply with their emotions and perceptions while reflecting the complexities of human experience.