Natural Fertilizer
The major benefits of earthworm is for soil fertility and these can be summarized as:
Biological. In many soils, earthworms play a major role in converting large pieces of organic matter (e.g. dead leaves) into rich humus, and thus improving soil fertility. This is achieved by the worm's actions of pulling down below any organic matter deposited on the dried dirt, such as leaf fall or manure, either for food or when it needs to plug its burrow. Once in the burrow, the worm will shred the leaf and partially digest it, then mingle it with the earth by saturating it with intestinal secretions. Worm casts (see below) can contain 40% more humus than the top 6" of soil in which the worm is living.
Chemical. As well as dead organic matter, the earthworm also ingests any other soil particles that are small enough—including stones up to 1/20 of an inch (1.25mm) across—into its gizzard wherein minute fragments of grit grind everything into a fine paste which is then digested in the stomach. When the worm excretes this in the form of casts which are deposited on the surface or deeper in the soil, minerals and plant nutrients are made available in an accessible form. Investigations in the US show that fresh earthworm casts are 5 times richer in available nitrogen, 7 times richer in available phosphates and 11 times richer in available potash than the surrounding upper 6 inches (150 mm) of soil. In conditions where there is plenty of available humus, the weight of casts produced may be greater than 4.5 kg (10 lb) per worm per year, in itself an indicator of why it pays the gardener or farmer to keep worm populations high.