It is often used in literature and drama to refer to the final part of a play, film, or novel, in which the strands of the plot are drawn together and the central conflict is resolved.
Essentially, it's the climax's aftermath, where the story wraps up and all loose ends are tied.