Tax-loss harvesting is a strategy employed by investors to minimize capital gains taxes by selling losing investments to offset gains. This practice involves intentionally selling investments that have experienced a loss in order to offset the capital gains realized from other investments. By doing so, investors can reduce their overall taxable income and, consequently, lower their tax liability.