If you deposit your LP tokens in a vault, every time the "Compound" button is pressed, the vault will harvest your pending rewards, sell half of your reward tokens, buy the paired assets with the proceeds, use those two tokens to add liquidity and then increase your LP token amount, automatically.