They are detritus feeders, process missed food and waste generated by corals and fish. The liverock and substrate should be full of them.
Silicone burrowing worm in the hole it created, in base joint of tank.