Erosion of rock, shells, wood, and other hard surfaces by organisms. Examples include bivalves that create holes in rock and wood, parrotfish that erode coral while grazing on algae, barnacles that attach to bivalve shells, and sponges that bore small holes into bivalve shells.