Here's why:
* Valence electrons are the electrons in the outermost shell of an atom, and they are the ones involved in chemical bonding.
* Oxygen is in Group 16 (also known as Group VIA), which means it has 6 valence electrons.
* The other elements in the oxygen family (sulfur, selenium, tellurium, and polonium) have more electron shells, but they also have 6 valence electrons.