In litigation that could cost Cargill Inc. millions of dollars, the Minnesota-based food company is fighting to keep the sugar substitute Truvia on supermarket shelves labeled as a “natural” sweetener.

Lawyers for Cargill appeared in federal courts across the United States during the past several months to resolve consumer claims that the company deceived them about the composition of the product, marketed as “Nature’s Calorie-Free Sweetener.”