Earthworms are ecosystem engineers that improve soil structure through burrowing activities, promoting better water infiltration and aeration. They also enhance nutrient cycling, increase microbial activity, and contribute to organic matter decomposition.