Do you think the right answer to the question "when do plants release oxygen?" is "heat produced", given that plants release oxygen when the sun is out?
Answer:
Yes