A liquidity pool is a smart contract that contains funds used to facilitate trading in decentralized exchanges (DEXs). Users can provide liquidity by depositing pairs of tokens into the pool, and in return, they receive liquidity pool tokens representing their share of the pool. These pools enable users to trade assets without relying on centralized exchanges and provide liquidity to the market.