In sandy soils, compost acts as a sponge to help retain water in the soil that would otherwise drain down below the reach of plant roots (in this way, it protects plants against drought).
(the soil; would drain down; below the reach of plant roots) (it; protects; plants; against drought)
the soil it
would drain down protects
below the reach of plant roots
plants against drought