the fact that bacteria, algae, and plants are photosynthetic organisms means that they can carry out photosynthesis. They are using sunshine, water and carbon dioxide to produce carbohydrates and oxygen.
The appearance of plants and algae caused the production of oxygen in the Earth's atmosphere.