Animals such as rodents, birds, foxes, moles, shrews, snakes, frogs, snails, salamanders, skunks, and toads consume earthworms. Additionally, insects such as ants and beetles feed on earthworms.
Earthworms play a significant part in the food web. As they are abundant in many regions of the world and are consumed by a variety of species, they are frequently accessible as a food source. Although earthworms are blind and lack feet, they are able to avoid predators. They are able to detect vibrations in the earth above them and will burrow deeper when they detect a disturbance. Some species also produce foul-tasting secretions, making them less desirable. Although a worm that has been split in half cannot regenerate into two independent worms, it can grow a new tail if a predator bites into its tail.
Indirectly, earthworms perform a vital part in the food chain. They consume soil and decomposing plant debris and excrete the digested materials along with many of its nutrients back into the soil, so improving it for plant growth. They can also assist in bringing deep-seated minerals to the soil surface, where plants can readily access them. Earthworms can assist organic gardeners enrich their soil and increase the yield of their fruits and vegetables.