The organisms that produced the oxygen gas in Earth's atmosphere in ancient times were

Aheterotrophic eukaryotes.
Bautotrophic eukaryotes.
Cautotrophic prokaryotes.
Dheterotrophic prokaryotes.
Ecompletely unlike modern organisms