The Inner Workings of Liquidity Pools: An Informative Guide