1) Ore deposits can form from the crystallization of magma in magma chambers (magmatic segregation deposits). Some major examples include deposits associated with layered igneous intrusions like the Bushveld Complex in South Africa, the Great Dyke of Zimbabwe, and the Sudbury Igneous Complex in Canada.
2) Skarn deposits form at the contact between intrusive igneous rocks and carbonate country rocks, where the carbonates are metamorphosed into marble, hornfels, and skarn minerals. Skarn deposits are a source for metals like copper, iron, tungsten, lead, and zinc.
3) Porphyry deposits are associated with porphy