oxygen is a diatomic molecule, that is it exists as O2 like most other gases N2 etc.
oxygen does not give/take electrons with itself, it shares electrons - you can imagine that its two non-metals so its covalent
also you'll have remember the valencies of the transition metals