CAMBRIDGE, Mass. — There’s a new war raging in health care, with hundreds of millions of dollars at stake and thousands of lives in the balance. The battle, pitting drug companies against doctors and patient advocates, is being fought over the unlikeliest of substances: human excrement.

The clash is over the future of fecal microbiota transplants, or F.M.T., a revolutionary treatment that has proved remarkably effective in treating Clostridioides difficile, a debilitating bacterial infection that strikes 500,000 Americans a year and kills 30,000.

The therapy transfers fecal matter from healthy donors into the bowels of ailing patients, restoring the beneficial works of the community of gut microbes that have been decimated by antibiotics. Scientists see potential for using these organisms to treat diseases from diabetes to cancer.

At the heart of the controversy is a question of classification: Are the fecal microbiota that cure C. diff a drug, or are they more akin to organs, tissues and blood products that are transferred from the healthy to treat the sick? The answer will determine how the Food and Drug Administration regulates the procedure, how much it costs and who gets to profit.