Using the setting to create obstacles and challenges for the characters, which drive the plot and the overall story arc.