We know that nitrogen is a inert gas and does not react with oil and fat containing food.Whereas, other gases like oxygen react with oil and fat containing food and make them rancid.Hence, to remove oxygen and prevent food from racidity food items are flushed with nitrogen.