Deductions & credits

Capital gains is entered on your tax return as income.  Entered on the Form 1040 Line 7