They enter into the soil from one point and comes out from some other point.This way they help in turning the soil level resulting in making the soil more fertile.
Earthworm provides manure too to the soils in a way that when they die out they get mixed with the soil and thereby make the soil rich in quality. Besides, they dig the soil and provides free passage of water and air into the soil which is so important for irrigation...