The oxygen in air can react with certain compounds in foods to damage their flavor or appearance, and many of the microorganisms that cause food to spoil need oxygen to grow. That's why vacuum-packaging food can help extend its shelf life. By withdrawing air from the package, this approach helps prevent oxidation and microbial growth.