Probiotics may not be that beneficial for those who already eat a balanced diet, and may actually contribute to memory problems, new research published in the journal Molecular Psychiatry suggests.

To better understand how probiotics are related to gut health and cognitive function, the researchers fed rats one of two diets. Some received a healthy diet, while the others had a “cafeteria diet,” which was high in saturated fat and sugar, according to MedicalXpress.

Read: Probiotic Health Benefits May Be Overstated, No Proof Supplements Do Anything For Healthy Adults' Gut Microbiota

After 25 days of their diet, the rats’ feces and brains were examined.

The rats who ate the cafeteria diet had improved gut health, which probiotics are claimed to assist with. The ones who ate the healthy diet had little improvement to their gut health and experienced impaired memory.

Despite the study being done on rats, one of the researchers notes it is important to be cautious about taking probiotics, MedicalXpress reported.

Probiotics are live microorganisms that are said to have a number of health benefits, but the research is limited. They are sold in foods like yogurt, dietary supplements, and as a skin for cream for those who have eczema.

Some of the health problems they might help prevent or treat include digestive disorders, allergic disorders, tooth decay, liver disease, and the common cold, according to the National Institutes of Health.

Generally, probiotics are safe for those who are healthy, but there are still many uncertainties. If you’re considering a probiotic dietary supplement, it is best to consult with your doctor before taking them.

See also: The Mental Health Benefits Of Probiotics: ‘Good Bacteria’ May Improve Mood, Fight Depression

Take Probiotics For A Healthy Vagina: How Good Bacteria Fights Against Yeast Infections, Diseases