plants can turn carbon dioxide into oxygen by photosynthesis