In case of hard money lending real estate is ideally used as collateral for secure financing. In case the borrower cannot pay the due the lender can sell the real estate to recover the payment.
In case of asset based lending things like inventory, accounts receivable instead of real estate can be used as collateral for a secured loan. In case the borrower cannot pay the due the lender can recover the payment from selling inventory or from accounts receivable.