H - hydrogen is a chemical element
O - oxygen is a chemical element
H₂ - hydrogen is a chemical substance wish a molecule comprising two atoms
O₂ - oxygen is a chemical substance wish a molecule comprising two atoms
H₂O - water is a chemical substance wish a molecule comprising two atoms of hydrogen and one atom of oxygen