"Some primary gas generators in the humans would be food that are particularly high in fiber or other compounds that our intestines find difficult to digest. Most beans, if not eaten on a regular basis, are a great example."
It depends on what gases you are talking about and how much air. But generally you could submit the given air to extremly low temperatures which would cause these "gases" to turn to a liquid.