Earthworms influence (and benefit) the soil ecosystem in a number of ways: Recycling organic material: Earthworms, along with bacteria and fungi, decompose organic material. ... Improving soil structure: Earthworm burrows alter the physical structure of the soil. They open up small spaces, known as pores, within the soil.