Countries gain from exchange when trade enables each country to receive a higher price for exported goods and/or pay a lower price for imported goods. This leads to more efficient resource allocation and allows consumption of a larger variety of goods.