I believe that the correct answer here is:
“in neither photosynthesis nor respiration”
This is because during photosynthesis, carbon dioxide is converted to glucose.
While during respiration, carbon dioxide is not split because it is one of the products of respiration hence it is rather created.