Some bacteria and fungus actually directly feed plants in exchange for food the plant provides. Fungus can even extend the roots of the plants, growing from the tips out, further into the soil helping the plant find more water and nutrients.
Hope this helps:)