In storytelling, the setting is the context or environment where events occur, often acting like a character itself.
Guest Post: Three Tips for Creating Unforgettable Story Settings
In technology, settings (also called "preferences" or "options") are configurable options that let users tailor a product's behavior to their needs.