The cell membrane of cells present in tubeworm is selectively permeable and they prevent minerals in the water from flowing it in the cell of tube worms. By doing this the cell membrane protects the cell from any osmotic damage. By selectively preventing these minerals it maintains the stable environment in the cell.