While capital gains may be taxed at a different rate, they are still included in your adjusted gross income, or AGI, and thus can affect your tax bracket and your eligibility for some income-based investment opportunities.