Uniswap is a decentralized exchange protocol built on Ethereum, utilizing an automated market maker (AMM) mechanism. It manages liquidity pools via smart contracts, allowing users to swap ERC-20 tokens directly without intermediaries. Core features include token swapping (priced by the constant product formula x·y=k), providing liquidity to earn fees, creating new token pairs, and participating in governance through the UNI token. Users connect a wallet (e.g., MetaMask), select token pairs, input amounts, and confirm transactions to swap; liquidity providers deposit equal values of two tokens to receive LP tokens representing their share and earning yields. The protocol has evolved through multiple versions, with the latest introducing singleton contracts, flash accounting, and Hooks for custom logic, improving gas efficiency and extensibility.