Some packaged foods, like salads and chips, need a bit of extra air to protect the delicate salad leaves and prevent chips from turning into a crumby mess. However, in other cases, puffy packaging could be because of excess gasses, like carbon dioxide, that are produced by bacteria in spoiled food, which cause packages to bloat and can emit foul odors.