The correct option is B CO2, O2
Plants can synthesise their own food in the form of glucose by the process of photosynthesis. In this process, plants utilise CO2 and water in the presence of sunlight and chlorophyll and O2 is released as the byproduct.
Carbon dioxide + Water Sunlight−−−−−→ Glucose + Oxygen