There are two steps when it comes to the formation of minerals. First, the crystallization of both magma and lava. The second process is the crystallization of materials that have been dissolved in water. These are the processes used in creating minerals.