What is the function of the leaf in plant?

The function of a plant leaf is to provide a structure in which chloroplasts can be exposed to sunlight so that they can perform photosynthesis.