Gemstone can be formed by hydrothermal processes, which involve both water (hydro) and heat (thermal). Minerals from rock dissolve in water that travels through cracks in the Earth's crust. Deep beneath the surface of the Earth, the mineral into contact with a heat source and becomes heated. An example of a heat source is magma, a hot mixture of molten rock and other substances found deep beneath the surface of the Earth.