A capital gain occurs when an asset is sold for more than its purchase price. Therefore, the correct option illustrating a capital gain is:
An investor purchases a stock for $25 and then later sells it for $30.
This shows that the investor made a profit of $5 on the stock.