Some companies may reinvest the profits instead of distributing dividends. Thus, the profits are used for further growth of the company. Here, the compounding is not through the reinvestment of the dividends but through the reinvestment of the profits.