Capital gains are not taxed as income, it is taxed as a capital gain, which has significantly lower rates than income tax.