If you’ve ever been on a medical odyssey to obtain a diagnosis for bothersome digestive symptoms, chances are someone along the way has ordered a stool analysis test for you. And for good reason: The simple act of pooping into a cup and dropping the sample off at a lab can yield a lot of diagnostic data. Your doctor can then use that information to help identify why you have diarrhea, gas, abdominal pain, unexplained weight loss or any number of other symptoms.
Source: What Can a Stool Test Diagnose?