The correct option is B They make the soil porous, leave their castings and take organic debris in the soil.
Earthworms are called friends of farmers because they make the soil porous. They also increase soil fertility by releasing the mineral nutrients present in dead and decaying organic matter by digesting it and depositing it as their cast.