backstory
US /ˈbækˌstɔːr.i/
UK /ˈbækˌstɔːr.i/

1.
a history or background, especially one created for a fictional character or situation
:
•
The author developed a detailed backstory for each character in the novel.
•
The movie provided a compelling backstory for the villain.