An epilogue is a section of a story that reflects on the events which have taken place and may provide information about what will happen in the future. So, another word for epilogue is postlude. Synonyms for epilogue include resolution, conclusion, denouement, sequel, happy ending, and summit.
A postlude provides a space for reflection on the meaning of the events which may have occurred during a story. It's typically written in a reflective or contemplative tone and can provide a moral to the story. It can also foreshadow events which may take place in a sequel.
In some cases, an epilogue can provide closure to a story and bring it to a satisfying conclusion. It's typically used to provide an emotional resolution to a story and bring the characters' arcs to a conclusion. It may also elaborate on the themes of the story, allowing readers to have a deeper understanding of its message.
Epilogues can be used to both open up questions and provide closure to a story. They are often used to provide a sense of hope and a glimpse of what might be to come, a fitting end to an epic journey.
For more information about epilogues, you can check out this article from the Merriam Webster Dictionary:
https://www.merriam-webster.com/words-at-play/what-is-an-epilogue