But that is only one side of the issue. As scientists get to know the microbiome better, they are also looking for new medical treatments: after all, most antibiotics were first discovered in bacteria and fungi. Michael Fischbach, a biologist at the University of California, San Francisco, and his colleagues have discovered a wealth of promising druglike molecules made by microbes in human bodies.

It may even be possible to use the bacteria themselves as living drugs. Doctors have treated hundreds of patients suffering from gut infections by giving them so-called fecal transplants: the bacteria from healthy people can create a stable ecosystem that drives disease-causing microbes to extinction. In their more speculative moments, scientists have proposed using microbes to treat obesity or autoimmune diseases. Some researchers are even genetically engineering microbes to make them more effective.

Manufacturers already add beneficial bacteria, called probiotics, to a range of foods. But regulating a microbe is trickier than regulating a molecule. Probiotics can multiply inside us, and can later escape to colonize new hosts. When a doctor prescribes engineered microbes for individual patients, the ethical questions will extend far beyond them, to their families and communities.

Newsletter Sign Up Continue reading the main story Please verify you're not a robot by clicking the box. Invalid email address. Please re-enter. You must select a newsletter to subscribe to. Sign Up You will receive emails containing news content , updates and promotions from The New York Times. You may opt-out at any time. You agree to receive occasional updates and special offers for The New York Times's products and services. Thank you for subscribing. An error has occurred. Please try again later. View all New York Times newsletters.

Microbes defy a simple notion of individuality. They are essential to our biology, and they travel with us from birth to death. Yet they also flow between us, and can be found in water, food and soil.

One important rule for microbiome ethics is to be transparent with the people involved in scientific studies. “The key is respectful interaction,” said Kieran O’Doherty of The University of Guelph outside Toronto. That’s particularly important when scientists travel to poor communities to collect microbes. They should not try to woo their subjects with false hope about the benefits of the research.

“We’re trying to develop a way to engage in those discussions without overselling the knowledge,” said Paul Spicer, an anthropologist at the University of Oklahoma. But if practical good does come from the research — say, a new drug — these communities should also have a way to share the benefits.

The microbiome poses another bioethical balancing act, between the interests of microbe hosts and the public at large. If scientists become too consumed with protecting the individuals they study, research on the microbiome could slow.

Monitoring the bacteria flushed into the sewer system of a town, for instance, might reveal a lot about the entire town’s health. But a regulation requiring permission from every resident of the town would stop the study dead in its tracks.

Indeed, one outcome of the microbiome revolution may be to reorient bioethics itself. “We’re not in this alone,” Professor Rhodes said. “We’re part of the environment and part of the world. Instead of just focusing on protection, we can ask, ‘How can we help people?’ ”