When an oxygen atom forms an ion, it gains two electrons. What is the electrical charge of the oxygen ion?

A.-2

B.+2

C.+1

D.-1