Ore is natural rock or sediment that contains one or more valuable minerals, typically containing metals, that can be mined, treated and sold at a profit. Ore is extracted from the earth through mining and treated or refined, often via smelting, to extract the valuable metals or minerals. The grade of ore refers to the concentration of the desired material it contains. The value of the metals or minerals a rock contains must be weighed against the cost of extraction to determine whether it is of sufficiently high grade to be worth mining, and is therefore considered an ore.
Minerals of interest are generally oxides, sulfides, silicates, or native metals such as copper or gold. Ores must be processed to extract the elements of interest from the waste rock. Ore bodies are formed by a variety of geological processes generally referred to as ore genesis.
In most cases, an ore does not consist entirely of a single ore mineral but it is mixed with other valuable minerals and with unwanted or valueless rocks and minerals. The part of an ore that is not economically desirable and that can not be avoided in mining is known as gangue. The valuable ore minerals are separated from the gangue minerals by froth flotation, gravity concentration, and other operations known collectively as mineral processing or ore dressing.
Main article: Mineral resource classification
An ore deposit is an economically significant accumulation of minerals within a host rock. 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, or after a discoverer (e.g. the Kambalda nickel shoots are named after drillers), or after some whimsy, a historical figure, a prominent person, a city or town from which the owner came, something from mythology (such as the name of a god or goddess) or the code name of the resource company which found it (e.g. MKD-5 was the in-house name for the Mount Keith nickel sulphide deposit).
Main article: Ore genesis
Ore deposits are classified according to various criteria developed via the study of economic geology, or ore genesis. The classifications below are typical.
Hydrothermal deposits formed by basinal saline fluids, include the following main groups: 
Main article: Mining
The basic extraction of ore deposits follows these steps:
Ores (metals) are traded internationally and comprise a sizeable portion of international trade in raw materials both in value and volume. This is because the worldwide distribution of ores is unequal and dislocated from locations of peak demand and from smelting infrastructure.
Most base metals (copper, lead, zinc, nickel) are traded internationally on the London Metal Exchange, with smaller stockpiles and metals exchanges monitored by the COMEX and NYMEX exchanges in the United States and the Shanghai Futures Exchange in China.
Iron ore is traded between customer and producer, though various benchmark prices are set quarterly between the major mining conglomerates and the major consumers, and this sets the stage for smaller participants.
Other, lesser, commodities do not have international clearing houses and benchmark prices, with most prices negotiated between suppliers and customers one-on-one. This generally makes determining the price of ores of this nature opaque and difficult. Such metals include lithium, niobium-tantalum, bismuth, antimony and rare earths. Most of these commodities are also dominated by one or two major suppliers with >60% of the world's reserves. The London Metal Exchange aims to add uranium to its list of metals on warrant.
The World Bank reports that China was the top importer of ores and metals in 2005 followed by the US and Japan.