Other contributors have said "In the atmosphere oxygen is what?" is the same question as "What is the source of oxygen in the atmosphere?" If you believe that these are not asking the same thing and should be answered differently, click here
Photosynthesis is the main source of atmospheric oxygen; but some 'may' come from water vapour being split into oxygen & hydrogen by ultraviolet radiation.