What is the process by which plants convert sunlight into energy?

What is the primary purpose of leaves in a plant?

Which part of a plant is responsible for the transport of water and nutrients from the roots to the rest of the plant?