Indeed, some research is pointing to the beneficial effects on your microbiome, too. The microscopic critters in the soil where you live may be very well co-evolved to live there, and there's a body of reasoning which says since you live there, too, they can be - sometimes - be very helpful to your own body.
(not that you should eat dirt, of course)