Providing liquidity to a pool allows you to earn a percentage of the pools traded volume as well as any extra rewards if the pool is incentivized.