The correct response that illustrates a capital gain is:
An investor purchases a stock for $25 and then later sells it for $30.
A capital gain occurs when an asset is sold for more than its purchase price. In this case, the investor sold the stock for $30 after buying it for $25, resulting in a capital gain of $5.