Capital gains are profits from selling assets like stocks or real estate for more than their purchase price. Capital losses occur when assets sell for less than their cost.