This graphic illustrates the settlement process using T accounts.