"Description is hard. Remember that all description is an opinion about the world. Find a place to stand."
Simply put, a setting of a story is what your name is to you; it lends you individuality. You will wonder how this acts as a rightful attribute in case of a story. When you read a book, more than the story, you connect with the character - an entity whose existence seems cogent and real because of the factors that his life is conjoined or influenced with.
For example, the premise of Harry Potter is pivoted on Harry's quest to defeat Lord Voldemort, but it's the accompaniment of elements like the muggle world, wizardry world, Horcruxes, magic, Quidditch matches, etc. that make Harry Potter series very believable. These factors help to mold the characters as well as support events in furtherance of the plot.
The whole idea of fiction is based on disbelief. It is thus important for the author to understand that the very fabric of a story is weaved from its settings and to intertwine the readers into your story, you need to build a world that elicits belief.
Once you are able to do that, no matter if your setting is a grandiose kingdom situated in outer space or a story set during the Great Depression, your reader will believe in it. Now that we know what a setting is - how it acts as a photographic backdrop to your plot and interacts with the characters, let us now understand the elements that make the setting.
This is the starting point of your setting. You could choose Belle Époque for your period drama or it could be a love story blossoming in the hyperspace, you have all the latitude to develop your story and fuse characters with respect to your chosen time period.
Likewise, your story could evolve from a specific time of the day like dawn, twilight, night, etc. or any specific time of the year - significant events like Christmas, Halloween, Easter, New Year's Eve, etc or birthday, death or wedding anniversary or stag party.
If your story demands structural progression of events or of characters, then you must make sure that you keep track of time - for example, five years elapsed since her consciousness slipped into the unknown realm of pathology. This will lend more credibility to your storytelling, be it fiction or non-fiction.
A locale, in other words is the clothing of your story. This could be just about any place you have heard of, known of, visited, or a place that your creative mind contrives. It could range from country, city, town, train, prison, hospital, subway, manor, boat, desert, school, planet, rural region, etc.
What follows your locale is the architecture of the place - for example, if your protagonist is born in a Victorian style house then you will need to incorporate details like colored brickwork, bay windows, fireplace, iron railings, etc. as they will not just commingle with your character but will also help you connect with the overall plot of the story.
This has got to do with the climatic influences in your story. This could mean the torrid rains, balmy wind, gentle zephyr, monstrous tsunami, swallowing earthquakes, clear skies, smothering avalanche, pristine mountain snow, etc. Enwrapping your story with weather details is a surefire way of enhancing the mood of your story.
It won't be wrong to say that they make the mood of the story - every season, every motionless foliage, every bright beam that enters through the kitchen louver door comes in with a certain feel and rubs its symbolic significance off on the characters.
Geography of a place, again, helps to set the tone and mood of your story. It could be mushy lowlands, surreal forest, precipitous mountains, lifeless river, dead lake, a snow-crowned chalet in Switzerland, a generous resort in the Cable beach of Bahamas, as well as dwarf pines in France (flora) to the vitriolic rattlesnakes of Oklahoma (fauna).
Your description of the geography is an important element of the setting. Likewise, your geographic setting could also involve imagery of ports, plantation, dams, cemeteries, vineyards, etc. that will interact with your plot and characters.
Your cultural setting redounds on your character. The social practices, religious beliefs, political scenario of a particular time, cultural trends, folklore, cuisine, clothing, music, etc. are some of the cultural factors that you can use to lead your characters through a convoluted plot or to give a direction to the characters to advance the story.
The characters you create are affected by these cultural factors as well as act as their guiding factor throughout the story.
This is extremely vital as, it not just adds more belief to your story but, also helps to trigger memories of the reader.
Imagine being wakened by the redolence of grass on a morning (smell); or sitting by the fireplace while the logs crepitate (sound); or enjoying Belgium chocolate (taste); or watching the reflections of water on cave walls (sight); or moving one's fingers through someone's thick, knotted hair (touch); these descriptions keep your readers piqued.
While you can add many layers to your story through the aforementioned setting elements, there are chances that as an author, you would fail to see the forest for its trees. In order words, you would be so caught up with the minutiae details of the settings that you will most likely lose the sight of the plot as a whole.
Hence, you must know what colors are apt for your imagery, as overloading your canvas with too many colors will make you lose your sense of the subject (here, plot) and of your readers as well.