As the Earth has evolved life has played a part of the equation almost since day one.
For a long time (something like 1.8 billion years) life on Earth consisted of nothing more complicated than anaerobic bacteria. The atmosphere was much different back then, it would be considered poisonous today.
But then something amazing happened... A new organism arose, Cyano bacteria - also known as Blue Green Algae - an organism that could make its own food from sunlight, available water and CO2 molecules.
Photosynthesis had evolved. For the first time in the history of the Earth Oxygen began to accumulate in the atmosphere.
This resulted in the extinction of 99.9% of the organisms living on the planet at that time...