Mineral: The inorganic element or compound, which occurs naturally in the earth's crust is called mineral. for example, copper pyrites (CuFeS2), cuprite (Cu2O), etc. are the minerals of copper.
Ore: The mineral from which a metal can be extracted profitably and conveniently is called an ore. For example, bauxite (Al2O3.2H2O) and clay (Al2O3.2SiO2.2H2O) are the minerals of aluminium. But, extraction of aluminium is cheaper and easier from bauxite. Hence, bauxite is the ore of aluminium.
Thus, ''every ore is a mineral but every mineral is not an ore.''
Gangue or Matrix: The unwanted impurities of sand and rocky materials present in the ore are known as gangue or matrix. we get a concentrated ore by removing the gangue present in it.