Photosynthesis is the process of making food for the plants by the plants themselves. Plants have a structure called chloroplast which contains chlorophyll. This chlorophyll when exposed to light (from sun or artificial source), converts the light energy into chemical compounds (for e.g. glucose) which is the source of energy for the plants. In this reaction of converting light energy into food, the plant also releases oxygen as a byproduct.