In DeFi, AMM refers to algorithms that automatically adjust token prices in liquidity pools. AMMs are carried out through smart contracts.