Some theorize it is a useful store of helpful gut flora and fauna to aid in digestion and mineral absorption.
So it could do that. However it can also get infected with bad things and need to be removed.
Is it needed? Probably not. At one time? Sure. Now? It’s been repurposed perhaps as a probiotic store.
Latest Answers