by sunlight, taking in water from the ground and carbon dioxide from the air, converting