Investors who have owned securities for many years can accumulate significant unrealized gains. Selling those investments to reposition a portfolio can trigger capital gains taxes.