Here's what photosynthesis does:
* Consumes: Carbon dioxide (CO2) and water (H2O)
* Uses: Light energy from the sun
* Produces: Glucose (sugar) and oxygen (O2)
The glucose is a type of sugar that plants use for energy and growth. The oxygen is released into the atmosphere.
So, to answer your question more directly, the raw materials consumed by photosynthesis are carbon dioxide and water.