Taxes on capital gains are income taxes - not ordinary income but capital gains income.
Did you realize that if we as individuals were taxed only only on our profit or gain we'd probably not owe anything!