Setting (fiction)

time and place within a narrative, whether fiction or non-fiction

A setting is the time, location, and atmosphere (e.g. happy, sad, exciting, frightening, etc.) that a piece of writing is taking place in.