Photosynthesis and chemosynthesis are both processes by which organisms produce food; photosynthesis is powered by sunlight while chemosynthesis runs on chemical energy. ... Ecosystems depend upon the ability of some organisms to convert inorganic compounds into food that other organisms can then exploit (or eat!).