Decentralized finance (DeFi) refers to financial applications that use blockchain-based smart contracts for activities such as exchanging assets, lending and borrowing. Some services allow users to interact directly from their wallets, although frontends, governance and infrastructure may still involve centralized parties.
In a token swap, a contract can exchange one token for another using an automated liquidity protocol. In a collateralized loan, a user deposits assets to secure debt and may face liquidation if the position falls below required limits.
These activities depend on programmed rules instead of relying solely on a bank or broker. They still rely on correct code, price feeds, asset liquidity and operational controls.
DeFi does not provide universal deposit insurance or guaranteed returns. Understanding a protocol's health factor or other risk limits is more useful than judging it by its advertised yield alone.