The historical events and societal norms that influenced the creation and evolution of myths and legends.