A trade surplus occurs when a country's exports of goods and services exceed its imports, resulting in a positive balance of trade. This situation indicates that a nation is selling more to the world than it is buying, which can contribute to economic growth and increased foreign currency reserves. A trade surplus can signal a competitive advantage in certain industries or markets, influencing exchange rates and investment flows.