Capital gains can be interpreted in two ways.
Firstly, in project evaluation, capital gains are exactly like what 岸芷汀兰 said.
In this case, taxes on capital gains take the form of corporate tax because they are considered as a compensation for earlier reduced taxes result from the depreciation method.
In the other case, if a company pays a dividend to its shareholders, a shareholder must pay tax on the dividend. This type of tax is refered to as personal income tax on dividend.
If a shareholder realizes his/her interest by selling the shares he/she holds. The gain from selling the shares is considered as a capital gain. Similarly, tax would be levied on it, while the tax rate can be different which leads to the choice of preference faced by shareholders between dividends and capital gains.