Net investment income refers to the total income earned from investments, such as interest, dividends, and capital gains, minus the expenses associated with generating that income. It is an important metric in measuring a country's trade balance and overall economic performance.