Prologue is put at the beginning of a story. It introduces the world described in a story and main characters.
Epilogue is located at the end of a story. It describes events which happened after all the plots had been finished. It tells what happened to main characters of the story.