Suppose you’re planning to make a charitable gift. In that case, it generally makes more sense to give appreciated long-term capital assets to the charity instead of selling the assets and giving the charity the after-tax proceeds. Donating the assets instead of the cash avoids capital gains tax on the sale, and you can obtain a tax deduction for the total fair market value of the property.