In fact, oxygen (the lightest element in group 16) is the most reactive nonmetal after fluorine, even though it is not a halogen, because the valence shell of a halogen is at a higher principal quantum number.