In astronomy, metallicity is the abundance of elements present in an object that are heavier than hydrogen and helium. Most of the normal currently detectable matter in the universe is either hydrogen or helium, and astronomers use the word "metals" as convenient shorthand for "all elements except hydrogen and helium". This word-use is distinct from the conventional chemical or physical definition of a metal as an electrically conducting solid. Stars and nebulae with relatively high abundances of heavier elements are called "metal-rich" in astrophysical terms, even though many of those elements are nonmetals in chemistry.
The globular cluster M80. Stars in globular clusters are mainly older metal-poor members of population II.
Population I star Rigel with reflection nebula IC 2118
Abundance of the chemical elements
The abundance of the chemical elements is a measure of the occurrence of the chemical elements relative to all other elements in a given environment. Abundance is measured in one of three ways: by mass fraction, by mole fraction, or by volume fraction. Volume fraction is a common abundance measure in mixed gases such as planetary atmospheres, and is similar in value to molecular mole fraction for gas mixtures at relatively low densities and pressures, and ideal gas mixtures. Most abundance values in this article are given as mass fractions.
Image: Solar System Abundances