When sediment is pressed together, the matrix is often cemented by such things as silica (SiO2) and calcium carbonate (CaCO3). These natural cements are usually precipitated by circulating groundwater within permeable rocks such as sandstone and conglomerate.