Decentralized crypto-loans work as P2P loans, in which the borrowers and lenders are connected via smart contracts and not by any central entity.
Click here for more information: https://www.leewayhertz.com/all-about-crypto-loans/)