What is a Setting in a Story?

The setting of a story is where and when the story takes place. It is often important to the story itself, because it helps explain the attitudes of the characters.