An ore is a type of rock that contains sufficient minerals with important elements including metals that can be economically extracted from the rock. The ores are extracted from the earth through mining; they are then refined (often via smelting) to extract the valuable element, or elements.
The grade or concentration of an ore mineral, or metal, as well as its form of occurrence, will directly affect the costs associated with mining the ore. The cost of extraction must thus be weighed against the metal value contained in the rock to determine what ore can be processed and what ore is of too low a grade to be worth mining. Metal ores are generally oxides, sulfides, silicates, or "native" metals (such as native copper) that are not commonly concentrated in the Earth's crust, or "noble" metals (not usually forming compounds) such as gold. The ores must be processed to extract the metals of interest from the waste rock and from the ore minerals. Ore bodies are formed by a variety of geological processes. The process of ore formation is called ore genesis.
An ore deposit is an accumulation of ore. This is distinct from a mineral resource as defined by the mineral resource classification criteria. An ore deposit is one occurrence of a particular ore type. Most ore deposits are named according to their location (for example, the Witswatersrand, South Africa), or after a discoverer (e.g. the kambalda nickel shoots are named after drillers), or after some whimsy, a historical figure, a prominent person, something from mythology (phoenix, kraken, serepentleopard, etc.) or the code name of the resource company which found it (e.g. MKD-5 is the in-house name for the Mount Keith nickel ).