Plants added oxygen to the environment. Before plants evolved, Earth's atmosphere was mostly carbon dioxide and nitrogen. Through photosynthesis, plants convert carbon dioxide and water into glucose and oxygen. The oxygen released by plants is what animals breathe.