Deposit two tokens to create liquidity in a pool, and receive a LP tokens to signify ownership in that pool. If you are the first person to create liquidity in a pool, you can designate the fee % the pool charges traders.
Fees for LPs are accumulated into a vault that allows you to claim fees seperately from your LP tokens. This is the most capital efficient way to capture trading fees and yield its value.
Read docs