The trial balance is used to determine if:
A.
total assets equal total liabilities.
B.
total debits of all the accounts equal total credits of all the accounts.
C.
total debits of the income statement accounts equal the total credits of the income statement accounts.
D.
total debits of the balance sheet accounts equal the total credits of the balance sheet accounts.