What does a plant do through the process of photosynthesis?

What does a plant do through the process of photosynthesis?