Answer:
oxygen
Step-by-step explanation:
The first photosynthetic bacteria evolved on Earth around 2.4-3 billion years ago.
These bacteria used inorganic compounds such as water and carbon dioxide to produce their food and in return, they gave away glucose and oxygen.
This means that Oxygen was not prevalent until then.
This discovery is known as "The Great Oxygen Event".
Hope this helps :)