Capital Gains

My ss and retirement is less than $40,000. I sold my rental for a $160,000 in capital gains. Turbo Tax calculated my tax at $23,000, Shouldn't it be 0% on the capital gains because of my income or is the capital gains considered taxable income when looking at the IRS charts?