Answer:
Your question is incomplete, but the description you are providing corresponds to the definition of a myth.
Step-by-step explanation:
A myth is a wonderful narrative starring gods, heroes or fantastic characters, located outside of historical time, which explains or gives meaning to certain events or phenomena.
Myths, in this sense, are part of the belief system of a people or culture. Taken together, myths make up a mythology. Mythology, as such, is what sustains the worldview of a culture, that is, the set of stories and beliefs with which a people has traditionally explained to themselves the origin and reason for being of everything that surrounds them.
In this sense, myths offer explanations about the origin of the world (cosmogony), of the gods (theogony), of man on Earth (anthropogenic), of the foundation of cultures and nations (foundational), of beings, things, techniques and institutions (etiological), as well as the origin of good and evil (moral) and stories associated with the idea of the end of the world (eschatological).