It's important to note that the chemical formula O₂ represents a molecule of oxygen, meaning two oxygen atoms are bonded together. The atomic number, however, is a property of individual atoms. So, even though there are two oxygen atoms in O₂, the atomic number for each oxygen atom remains 8.