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.
Andesite is a fine-grained igneous rock that forms when the magma is erupted onto the surface and is crystallized quickly.