If you’ve been chomping on raw carrots to get your five-a-day fix, hold tight a tic: you’re probably doing yourself more harm than good.

A new study has found that raw produce contains compounds that damage microorganisms in the gut while cooking your food can alter the bacteria for the better.

Scientists out of the University of California San Francisco set out to explore how exposure to heat impacts the physical and chemical properties of food and, in turn, how this affects the delicate microbial environment in our intestines.

See also: High Incidences of Abuse of Mothers During Childbirth: Finds Study

The team split mice into four groups and fed them different diets: raw meat, cooked meat, raw sweet potatoes or cooked sweet potatoes.

Cooked Veggies instead of Raw Are Better For Your Gut Health: Finds Study

Cooked Veggies instead of Raw Are Better For Your Gut Health: Finds Study

While they found no difference in the microbiomes of the mice who ate raw vs cooked meat, there was a significant change between the two groups eating raw vs cooked sweet potato.

Not only the bacteria in their bodies completely different, but the diet had also determined whether certain genes were ‘on’ or ‘off’ and the metabolic products (aka, waste) they produced.

Intrigued by the findings, the team then replicated the same experiment with a variety of vegetables e.g. white potatoes, corn, peas, carrots, and beetroot and got the same results.

Dr. Peter Turnbaugh said that he was surprised to see that the differences were not only due to changing carbohydrate metabolism but also may be driven by the chemicals found in plants, an associate professor of microbiology and immunology at UCSF and the study’s lead author explained.

In an effort to see if the same microbial changes would occur in humans, researchers partnered up with a professional chef to prepare a raw and cooked menu.

The participants stuck to each diet for three days before providing stool samples. Again, it was clear that the gut bacteria between the two groups were distinctively different.

“We’re very interested in doing a larger and longer intervention and observational studies in humans to understand the impact of longer-term dietary changes.”

Also Read: World Health Organisation Announces Health care investment needed to curb out-of-pocket spending