DeFi is a collection of financial services, such as trading, lending and borrowing, that run on smart contracts instead of through banks or brokers.
Users connect a self-custody wallet and interact directly with contracts, with no account opening and no company holding their funds. Typical services include decentralised exchanges, lending pools where deposits earn variable interest, and stablecoins. The rules are written in public code and applied automatically. Most DeFi activity takes place on Ethereum and similar smart-contract blockchains.