Answer:
The setting of a story can have a huge impact on the plot of any story
Lets say that you are in a dark and long alleyway, the story will then have a dark theme/tone meaning that somthing bad might happen. Where as if it was a setting of unicorns and rainbows then that mostlikely means happy endings.
The setting the story is set in can help depend on whether or not the story will be unfortunate, scary, or happy.
hope this helps!
:)