Geological history of oxygen
Although oxygen is the most abundant element in Earth's crust, due to its high reactivity it mostly exists in compound (oxide) forms such as water, carbon dioxide, iron oxides and silicates. Before photosynthesis evolved, Earth's atmosphere had little free diatomic elemental oxygen (O2).
Source: Wikipedia — Geological history of oxygen (CC BY-SA 4.0)