Is interest on DeFi compounded?

Hey guys, can anyone shed some light on whether the interest earned, when I supply liquidity to a dex, is compounded or not? Or do some dexes compound and others not?

If anyone has info I’d greatly appreciate it as it will save me some time.

Em