The correct response is:
It reacted with iron in rocks to produce iron oxide.
The production of oxygen through photosynthesis led to the accumulation of oxygen in the environment, which reacted with dissolved iron in the oceans, resulting in the formation of iron oxide (rust). This process significantly impacted the geosphere and contributed to the Great Oxidation Event, which changed the Earth's atmosphere and enabled the evolution of aerobic life forms.