The setting helps create the mood of the story.
This is a general reason because the atmosphere and environment in which a narrative takes place can significantly influence the emotions and responses of both the characters and the readers, thereby enhancing the overall experience of the story.