Life on Earth would not be possible without plants. Plants take in CO2 (carbon dioxide) and give out O2 (oxygen). Plants also need H2O (water) to keep them alive which they use in a process called photosynthesis. O2 is what all living beings need to survive on this planet. That and H2O.
Hopefully, this helps.