Economists have understood since the Victorian era that the main benefits of trade come from comparative advantage: the idea that people can specialize in what they're good at and then benefit from exchange. The principle is no more mysterious than specialization in the labor market.
— David Autor