A trade surplus occurs when a country's exports exceed its imports, resulting in a positive balance of trade. This term is closely related to the measurement and analysis of a country's trade flows, as well as its broader economic implications and policy considerations.