Photosynthesis is the making of food by plants. The essential ingredients in making this food are sunlight, the chlorophyll that is present in green plants, water and carbon dioxide in the air.
Photosynthesis is necessary not just for plants to make food for themselves, but for animals, including us eventually.