Oxygen is an element in the sixth group of the periodic table. This means it contains 6 electrons in its valence shell. Therefore, to complete its octet, it will prefer to gain two electrons rather than to donate 6. This is why its valency is -2. The relatively easy to achieve octet makes Oxygen a reactive element.