The total profit earned by a corporation is allocated in three primary ways:
Corporate Profit Tax: A portion of the profit is paid to the government as taxes.
Dividend: A portion of the after-tax profit is distributed to the shareholders as a return on their investment.
Undistributed Profit (or Retained Earnings): The remaining portion of the after-tax profit is kept by the company for future investment, expansion, or to cover future contingencies.
Since all three are dispositions of a firm's total profit, they are all considered components of profit.