Sedimentary rocks form under surface conditions and consist of accumulations of (1) chemical and biochemical precipitates; (2) fragments or grains of rocks, minerals, and fossils; or (3) combinations of these kinds of materials.