Rocks formed by the solidification of a substance