The action of progressive removal of material from solid surfaces such as coral or rock, by the action of living organisms.