You are aware that gases are soluble in liquid. Solubility of a gas in a liquid depends on the partial pressure, temperature and presence of other solutes. Table shows the solubility of oxygen, carbon dioxide and nitrogen at different temperatures. You can see that solubility of carbon dioxide is much greater than oxygen and that as the temperature increases, solubility decreases.
Table: Solubility of gases in cm3 of gas per cm3 of water