The ledger is the principal book of accounting that contains accounts where transactions are recorded. It collects all accounts from the journal and special journals. The ledger is useful for ascertaining the net result of transactions for a particular account on a given date. It formats accounts with titles, codes, dates, references, debits, credits and balances. The journal is the book of original entry while the ledger is for final analytical recording. Ledger accounts are classified into assets, liabilities, capital, revenue/gains, and expenses/losses and can be permanent or temporary.