Which of the following factors is not necessary for photosynthesis?