A framing device is a narrative technique that uses a story within a story to provide context, perspective, or thematic depth to the main narrative. It often serves to set the tone, establish a point of view, or connect disparate elements of a plot, enhancing the audience's understanding and engagement with the primary storyline.