The correct answer would be option B

Photosynthesis and cellular respiration are complementary in nature as they produce substrates for each other.

Photosynthesis is the process by which plants or photoautotrophs like green plants, grass et cetera make their food or glucose from simple compounds like carbon dioxide and water in presence of sunlight and chlorophyll.

The oxygen is released as the byproduct.

6 CO₂ + 6 H₂O + solar energy → C₆H₁₂O₆ + 6 O₂

In contrast, the animals or consumers such as cow use these products (glucose and oxygen) to produce energy in the form of ATP through the process of cellular respiration.  

Carbon dioxide and water are released as the waste product of the process.

C₆H₁₂O₆ + 6 O₂ → 6 CO₂ + 6 H₂O + energy (ATP)