A company uses multiple retained earnings accounts to track retained earnings from different sources. They have accounts for initial capital from owners, earnings from operations, and earnings from the sale of assets. This allows them to see where retained earnings came from and know how much is available for distribution to owners.