The balance of trade is the difference between a country’s imports and exports. A trade deficit occurs when a country buys or imports more goods from other countries than it sells or exports. A trade surplus occurs when a country sells more than it buys from foreign markets.