Minerals are formed by which process?
magma cooling