A stool culture is a medical laboratory test that is performed to identify and diagnose infections or diseases related to the gastrointestinal tract, particularly those caused by bacteria, viruses, or parasites. This test is typically ordered by a healthcare provider when a patient presents with symptoms such as diarrhea, abdominal pain, fever, and other gastrointestinal issues.