in the photosynthesis process carbon dioxide / water / sunlight has the role of raw material & if something is a raw material in a process then that something is required for that process ->  sunlight is required for photosynthesis