A mineral is a naturally occurring chemical compound, usually of crystalline form and abiogenic in origin. A mineral has one specific chemical composition, whereas a rock can be an aggregate of different minerals or mineraloids. The study of minerals is called mineralogy.
Each distinct type of mineral is also known as a mineral species. As of March 2018, there are more than 5,500 known mineral species; 5,312 of these have been approved by the International Mineralogical Association.
Minerals are distinguished by various chemical and physical properties. Differences in chemical composition and crystal structure distinguish the various species, which were determined by the mineral's geological environment when formed. Changes in the temperature, pressure, or bulk composition of a rock mass cause changes in its minerals. Within a mineral species there may be variation in physical properties or minor amounts of impurities that are recognized by mineralogists or wider society as a mineral variety, for example amethyst, a purple variety of the mineral species quartz.