Give an Example of a DeFi Function Reliant on an Oracle.
A prime example is a decentralized lending protocol like Aave or Compound. The smart contract needs an accurate, real-time price feed for the collateral asset to determine the borrower's collateralization ratio.
If the asset's price drops too low, the oracle triggers a liquidation event based on the data.