The specific tax brackets in the tables above pay taxes on most capital gains. However, some types of capital gains, like the sale of a primary residence, might not be taxed.