Free trade allows countries to specialize in goods where they have a comparative advantage. If a country's domestic price is below the world price, it will export that good. If the domestic price is above the world price, it will import that good. Free trade benefits consumers in importing countries and producers in exporting countries, while harming producers in importing countries and consumers in exporting countries. However, the overall gains from trade exceed the losses. Tariffs and import quotas reduce these gains by creating deadweight losses and moving prices away from the free trade equilibrium. While restrictions are sometimes advocated for reasons like protecting jobs, most economists argue that free trade generally provides net benefits.