What is a baffle? What is it good for?
The baffle prevents the oil from sloshing and thus prevents foam formation.
https://www.bar-tek.com/help-center/products-stock/what-is-a-baffle-what-is-it-good-for