What you eat has an effect on how well your body metabolizes your food. Fatty foods require less energy for your body to break down and store, which does little to help your metabolism.
In contrast, carbs and especially proteins require more energy but also boost your metabolism to assist in this process.
Eating a diet rich in proteins and whole foods (rather than pre-processed foods) helps your body increase energy expenditure, promoting healthy metabolism.
Learn more at https://www.medicalnewstoday.com/articles/foods-that-boost-metabolism-what-does-the-science-say