Question: do all gases have a subscript of 2

Answer: No, Common examples include the gases carbon monoxide (CO), nitric oxide (NO), and hydrogen chloride (HCl).