A surplus occurs when the value of a country's exports exceeds the value of its imports, resulting in a positive balance in its trade and current account. This excess can indicate a strong economy, as it reflects that a country is selling more to other countries than it is buying from them, allowing it to accumulate foreign currency reserves and potentially invest in other areas.