Your gut bacteria could say a lot about you, such as why you’re diabetic or how you respond to certain drugs. But scientists can see only so much of the gastrointestinal tract to study the role of gut bacteria in your health. Researchers built a way to swallow a tool that acts like a colonoscopy, except that instead of looking at the colon with a camera, the technology takes samples of bacteria.