Factor #3: Atmosphere the product is stored in:
Foods packed in air don't store as well as in oxygen free gasses. This is because air contains oxygen which oxidizes many of the compounds in food. Bacteria, one of several agents which make food go rancid also needs oxygen to grow. Food storage companies have a couple of different processes for removing the oxygen:
Displacing the oxygen: This is done by purging out all the air in the product with an inert gas. Nitrogen is almost always used because it is the most inert gas known. People doing their own packing occasionally use dry ice which gives off carbon dioxide gas, and probably works just about as well.
Absorb the oxygen: Oxygen absorber packets do just that. Air contains about 78% nitrogen and 21% oxygen, leaving about 1% for the other gasses. If the oxygen is absorbed, what remains is 99% pure nitrogen in a partial vacuum.
If oxygen absorber packets are used, care must be taken to use a storage container that can stand some vacuum. If it's not air tight, air will be sucked into your container as the oxygen is absorbed, reintroducing more oxygen that must be absorbed. Before long, the oxygen absorbers will have absorbed all the oxygen they can. Obviously, your product won't be oxygen free under these circumstances.
Seeds store better in nitrogen. On the other hand, seeds you plan on sprouting, such as garden seed, or seeds set aside for growing your own sprouts store better in air. For this reason Walton cans their garden seed packs in air.
Oxygen absorbers also contain a minute amount of moisture to activate the absorber. Sometimes, with the heat generated by the absorber, they can cause sweating if you use glass bottles or tupperware type containers