The statement that illustrates a capital gain is:
An investor purchases a stock for $25 and then later sells it for $30.
This demonstrates a capital gain because the investor is selling the stock for more than the purchase price, resulting in a profit.