Chert forms when microcrystals of silicon dioxide grow within soft sediments that become limestone or chalk. The chert formation can be either of chemical or biological origin.
Flint is formed by the decomposition and compaction of various organisms such as sponges and diatoms under the water.