Dear Student ,
Air contains molecules of nitrogen , oxygen and other atoms and molecules who can react with the filament in the bulb and also can react between them in high temperature in the bulb but the inert gases does not .This is why the bulbs are filled with inert gases but not with air .
Regards