step: photosynthesis is a kind of process in which plants convert carbon dioxide and water and sunlight into carbohydrates and food and oxygen for themselves & if a plant uses a process to convert something into something else then that something is required by that plant for that process
inference: a plant requires sunlight for photosynthesis