Learn how to create a T-account for retained earnings and its use in accounting.