Question: why the atmosphere is oxygen?
Answer: Much of the CO2 dissolved into the oceans. Eventually, a simple form of bacteria developed that could live on energy from the Sun and carbon dioxide in the water, producing oxygen as a waste product. Thus, oxygen began to build up in the atmosphere, while the carbon dioxide levels continued to drop.