A Dungeons & Dragons campaign's setting is one of its most important factors. A D&D setting provides the world players adventure and fight through. It comes with history to add depth and wonder to the campaign, geography and politics to shape events around the players, and cultures that will impact who the characters are and how they approach the world.
Source:https://www.cbr.com/dnd-5e-campaign-settings-ranked/