The method of collecting a gas produced by a chemical reaction will depend on its solubility and its density.