Humans have to grow, hunt, and gather food, but many living things aren't so constrained. Plants, algae and many species of bacteria can make their own sustenance through the process of photosynthesis. They harness sunlight to drive the chemical reactions in their bodies that produce sugars. Humans have complicated digestive system and are not designed to use photosynthesis to process their food.
I hope this helped.