Do HEPA air purifiers get rid of smells?

I live in an apartment here and I am getting sick of all this crap from other people’s cooking. It’s an older building and they won’t look into it.
I read HEPA is a better purifier but I don’t know if it would stop smells from coming in my front door… it is shut so don’t give me stupid stuff about shut your door, just too old of a building (renovation they are doing doesn’t help).
Smells only hit me in the living room/dining room… about 350 sq ft I need to protect from smells.
Will a HEPA do this?