In diatoms, the cell walls form two thin overlapping shells, which fit together as in a soap box.
The walls are embedded with silica, and so they are indestructible.
Because of this, diatoms have left behind large amounts of cell wall deposits in their habitat. This accumulation over billions of years is called diatomaceous earth.
Being gritty, this soil is used in polishing and in the filtration of oils and syrups.