A cliffhanger is a narrative device used to create suspense by leaving the audience in a state of uncertainty about the outcome of a story, often at the end of an episode or chapter. This technique engages the audience's curiosity and compels them to return to the story for resolution, enhancing viewer or reader retention.