Mineral cement fills spaces between grains of sediment, binding these grains together and forming sedimentary rock.