As decomposers of organic material, they help keep the soil fertile, and recycle once-living matter into valuable nutrients for plants.
In a forest, decomposers help other organisms survive because they they put nutrients into the soil that plants use to grow.