step: photosynthesis is a kind of process & if something has the role of raw material in a process then that something is required for that process
inference: if something has the role of raw material in photosynthesis then that something is required for photosynthesis