This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
The minerals are mainly formed in igneous and metamorphic rocks when molten lava forces itself up the cracks and crevices of these rocks and cools down while nearing the surface. The lava contains several kinds of minerals and these minerals on cooling in the cracks of the rocks becomes a part of these rocks. minerals like lead, copper, zinc, tin etc are found in igneous and metamorphic rocks due to this reason.