How can on-chain lending lead to liquidation?
Take Aave as an example: when a position’s health factor falls below 1, any address can act as a liquidator and initiate liquidation.
Being liquidated usually doesn’t mean all your collateral is wiped out: the borrower still has the borrowed assets, while the portion of collateral taken is used to repay the debt, along with a liquidation penalty.
$COMP is the governance token of the lending protocol Compound.
Only deposit funds you can afford to lose.

This is a personal perspective and may not be accurate. Please think critically.