A liquidity pool is a smart contract that holds a reserve of two or more tokens and lets anyone trade against that reserve algorithmically. On Uniswap V2, the simplest version, a pool holds equal dollar values of two tokens β say ETH and USDC β and the contract maintains the invariant that the product of the two reserves stays constant (the x * y = k formula). When a trader swaps ETH for USDC, they add ETH to one side and remove USDC from the other such that the product remains at k, plus a small fee. The price of the trade is determined entirely by how much of each token is in the pool before the trade; no order book, no market maker, no centralised quoting engine.
The elegance of the design is that it lets anyone create a market for any pair of tokens without needing a counterparty or a traditional exchange’s listing process. Anyone can also add liquidity to an existing pool by depositing tokens in the correct ratio and, in return, receive LP tokens that represent their share. When trading happens, the fees (typically 0.3 percent on Uniswap V2, variable on V3) accrue to the pool and are distributed proportionally to LP token holders. This model turned DeFi from a theoretical exercise into something real almost overnight when Uniswap V2 launched in 2020, and it remains the default mechanism for on-chain trading.
The Economics From the LP Side
If you supply liquidity to a pool, you are betting that the fees you earn will outweigh the impermanent loss you take on as the two tokens drift in price. The math is brutal for volatile-volatile pairs and usually favourable for stable-stable pairs. A USDC/DAI pool has negligible IL because the prices barely move, and even at low fee tiers the trading volume generates meaningful yield. An ETH/some-memecoin pool has enormous IL potential because the memecoin price is going to move a lot in one direction, and unless the pool is doing massive volume, fees will not come close to covering it.
The general rule of thumb that has emerged after several years of real data is: do not LP volatile-volatile pairs unless you actively manage the position and understand exactly what you are doing. Stable-stable and LST-ETH (liquid staking token paired with ETH, where the two stay close in price) are where passive LPing has mostly been profitable. Everything else is either a sophistication play or a losing trade.
V3 and Concentrated Liquidity
Uniswap V3, launched in May 2021, changed liquidity pools in an important way. Instead of spreading liquidity evenly across all possible prices (which wastes capital, because most prices never actually trade), V3 lets LPs pick a price range where their liquidity is active. A LP who provides $10,000 of ETH/USDC concentrated in a tight range around the current price can earn the same fees as an LP who provided $100,000 spread across all prices β as long as the price stays in their range. If the price moves outside the range, their position becomes 100 percent the losing asset and stops earning fees until the price comes back or they rebalance.
This makes V3 pools far more capital-efficient for traders (tighter spreads, better execution) but also far more demanding for LPs. You have to pick a range, watch the price, rebalance when it moves, and accept that a poorly-chosen range can produce worse results than V2 would have. Most V3 liquidity comes from professional market makers running active strategies, not from retail LPs depositing-and-forgetting, and that is generally considered a feature rather than a bug.
Beyond Uniswap
The liquidity pool primitive has been adapted for many use cases beyond spot trading. Curve’s pools use a different invariant optimised for stablecoin pairs. Balancer’s pools can hold up to 8 tokens at arbitrary weights, effectively creating an on-chain index fund. GMX’s pools are used by perp traders as the counterparty, turning liquidity providers into the house for a perpetuals exchange. Each variation trades off different things, but the underlying idea β lock capital in a contract, let the market interact with it according to a formula β is the same, and it is one of the genuinely novel financial primitives that DeFi has produced.