Which of the following is the main function of the light-dependent reactions of photosynthesis?
a) to convert carbon dioxide into water
b) to release oxygen into the atmosphere
c) to produce ATP and NADPH for the light- independent reactions
d) to break down glucose into pyruvic acid