# Compound v2

<figure><img src="https://2404821215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQvgIHnQBPshWROyZ73aR%2Fuploads%2FlArcHfD57vAYFrINZJ53%2Fimage.png?alt=media&#x26;token=96f0d5f3-19e9-406f-b3ab-3e1420b79330" alt=""><figcaption></figcaption></figure>

Compound V2 is a decentralized finance (DeFi) protocol that enables users to lend or borrow cryptocurrencies in a trustless ecosystem. By depositing assets into the protocol, lenders can earn interest, while borrowers can secure loans by providing collateral, all managed through smart contracts.
