Oxygen has a charge of -2

Sulfur has a charge of -2

My product in a equation is S02

but how is this possible is they both have the same charge?
because now the S has a charge of -2
and the O of -4

2 answers

S here has +4. O always is -2, except in peroxides, and there it is -1.
so does that mean that S can have a net ionic charge of +4 as well as -2?