Understanding Liquidity Pools and Their Risks