A capital gain occurs when an investment is sold for more than its purchase price.
In this case, the correct illustration of a capital gain is:
An investor purchases a stock for $25 and then later sells it for $30.
This signifies a profit of $5, which constitutes a capital gain. The other options either describe earning interest or involve a loss, which does not represent a capital gain.