There are certain investments that reinvest capital gains, thereby allowing you to avoid paying taxes. For instance, capital gains that are realized for mutual funds or stocks held in a retirement account may be reinvested automatically on a tax-free basis. This means you don't have to report them and, as such, don't increase your tax burden.