Plants need carbon dioxide, chlorophyll, sunlight and water for photosynthesis. Oxygen is not a raw material. It is one of the products of the process.