In which plant process is oxygen given off to the air?

Photosynthesis.