Follow CBSMIAMI.COM: Facebook | Twitter

MIAMI (CBSMiami) — Snacking on peanuts could help prevent obesity.

READ MORE: Coral Gables resident says city's automatic license plate recognition cameras are a constitutional violation

That’s according to researchers who found that people who snacked on peanuts and peanut butter have a lower body mass index.

A study followed middle school students who swapped out unhealthy snacks for peanuts, and after 12 weeks the students who ate the peanuts had a lower body mass index than those who did not.

READ MORE: Second Suspected Case Of Monkeypox In Broward Under Investigation

The students continued to lower their BMI for 12 weeks after the study.

Additionally, after six months, researchers found those who snacked on peanuts or peanut butter experienced a significantly greater decrease in body mass index compared to those who did not have the peanut snack.

MORE NEWS: Celtics torch Heat early, even series with 102-82 blowout

Researchers found peanuts are a healthy alternative for children who frequently snack on “energy dense, unhealthy snacks.”