Oil and fat containing food items or eatables get rancid due to oxidation by air or oxygen. In case the container or bag is flushed with nitrogen, then oxidation or rancidity will be checked.