A simple stool test can by used to detect parasitic or bacterial infections, yeast infections, markers for intestinal permeability (leaky gut syndrome), digestive function, gut inflammation, and more.