Photosynthesis produces carbohydrates, but plants contain many other types of biological molecules, such as protein and nucleic acid (DNA)
Plants are producers meaning they don't require to eat, but make their own food. they requires many minerals gather form the soil and carbon, hydrogen and oxygen to function. C,H,O form carbohydrates and to form protein they require nitrogen, chlorophyll contain magnesium. those 2 are gained from the soil