in the early atmosphere, the earth had no trees, and the gases were mainly, carbon dioxide, methane and nitrogen. no oxygen.
when plants began appearing, it increased oxygen in atmosphere, and decreased carbon dioxide, which was also dissolved into oceans forming within sedimentary rocks.
this increase in oxygen continued, and helped create human life.