Plants turn sunlight into sugars through photosynthesis.