Plants release oxygen as a by product of photosynthesis. This allows animals to breathe. Also, plants drop dead leaves on the soil, which become food for a multitude of invertebrate animals like insects and worms.
There is no "food" that is not made from plants or animals that humans consume. Even processed foods contain parts from plants or animals. However, food from the sun is converted into energy as food for plants.