Metformin was introduced as a type-2 diabetes treatment decades ago, but researchers still debate how the drug works. A new study shows that metformin’s primary effect occurs in the gut, not the bloodstream. And a new version of the drug could help more people control their diabetes.