Photosynthesis is the process by which energy is produced from water and carbon(iv)oxide by green plants in the presence of sunlight and chlorophyll.It is important because it converts solar energy to food (sometimes stored as starch) .
This food in the plants can then be eaten by animals, since animals cannot convert solar energy to glucose.
Without photosynthesis there the earth would be a dead planet because, the cycle of energy flow would be prohibited and all animals (that can't produce food) would die.