Dear student,
The element in bulb are heated to higher temperature to produce light.If the bulb are filled with air element in bulb used to react with oxygen (ie) oxides and burn out.As inert gases do not react easily they are used to fill bulbs.
Regards.