Voluntary exchange occurs when all parties expect to gain. Countries seek to maximize their limited resources by specializing in what they can produce most efficiently, leading to greater total world production. Comparative advantage, where a country can produce a good at a lower opportunity cost than trading partners, is the primary driver of international trade. However, many nations employ trade barriers like tariffs and quotas to restrict free trade and protect domestic industries, though barriers usually impose more costs than benefits.