How plants transform sunlight into energy?

plant have somthing that turn sunlight into energy for plant. plant have somthing that turn sunlight into energy for plant.