Many of the foods that you buy wrapped in plastic today are using what is called Modified Atmosphere Packaging, or MAP. The package is filled with a mix of gases that are beneficial to the food. Most foods do better if they are stored away from oxygen. Many microorganisms also have a hard time with high concentrations of CO2 (just like people -- see Question 264). So eliminating oxygen and adding C02 is very common in MAP.

The amount of time MAP can add to shelf life can be amazing. For example, this page shows MAP increasing the shelf life of meat from 3 to 21 days, cheese from 7 to 180 days, and fresh pasta from 3 to 60 days! That's not bad when you consider that the cost of adding the gas is practically zero. Shelf life extension often lowers the cost of a product by reducing spoilage, and also opens up long-distance import/export options. It can also extend the seasons of certain fruits and vegetables.

In the case of Lettuce-in-a-Bag, the modified atmosphere does two things:

  1. It changes the way the green leaves behave. The green leaves are still alive even after you pick the lettuce, and you want to keep them alive as long as possible by changing their behavior.
  2. It discourages bacteria.
According to this page, "high CO2 and low O2 atmospheres can:
  1. Block the mode of action and biosynthesis of ethylene, a ubiquitous plant hormone which promotes aging and senescence.
  2. Reduce rots by directly inhibiting the growth of pathogens and by maintaining the health and integrity of the plant tissue, which reduces its susceptibility to infection.
  3. Slow yellowing of green tissues by preventing chlorophyll degradation
  4. Maintain the food and nutritional value and flavour of produce by slowing the loss of food reserves, particularly sugars, inhibiting the loss of labile vitamins such as vitamins C and A, and by slowing the accumulation of undesirable secondary metabolites in the plant's tissues, such as free ammonia.
  5. Slow cell membrane degradation and loss of cellular compartmentation and function.
  6. Inhibit discolouration of cut surfaces."
That collection of features is what keeps the lettuce fresh longer. There are no chemicals involved!

Here are several interesting links: