a leaf is used by a plant for photosynthesis