When you sell stocks, bonds, and other investments, you'll typically generate either a capital gain or a capital loss. Capital gains happen when you sell an investment for a profit; capital losses ...