Oil and gas wells produce a mixture of hydrocarbon gas, condensate or oil; water with dissolved minerals, usually including a large amount of salt; other gases, including nitrogen, carbon dioxide (CO2), and possibly hydrogen sulfide (H2S); and solids, including sand from the reservoir, dirt, scale, and corrosion products from the tubing.