A capital gain is realized when an investment’s selling price exceeds its purchase price.