The relationship between pressure and solubility is guided by Henry's law. According to this law, "The mass of a gas dissolved in given volume of the liquid at a constant temperature depends upon the pressure which applied."
It can also be stated as the partial pressure of the gas in vapour phase(p) is proportional to the mole fraction of the gas (x) in the solution.
p = KHX,
where, KH = Henry's constant.

Effect of temperature on the Solubility: The solubility of a gas decreases with increase in temperature. This is because dissolution of gases in the liquids is an exothermic process. Therefore, according to Le-Chatelier's principle, the increase in temperature results in decrease in the solubility of the gas.