When a chemist hears "metal", they think iron, copper, gold — solid, conducting, sitting on the left of the periodic table. When an astronomer says "metal", they mean anything heavier than helium. Carbon is a metal. Oxygen is a metal. Neon, by all rights a noble gas, is also a metal in this dialect. The terminology is jarring at first, but there's a reason for it: in stars, what matters isn't the chemistry of an element but whether it was around at the dawn of time or whether it had to be cooked up later.
Hydrogen and helium were forged in the first three minutes after the Big Bang, in a runaway fusion called Big Bang nucleosynthesis. Together they account for about 98% of the atomic mass in the universe — and almost all the rest is helium-4. A trace of lithium snuck through too. Then nucleosynthesis ran out of steam, the universe cooled below the threshold for fusion, and the cosmic recipe locked in: roughly 75% hydrogen, 24% helium, and 1% everything else. That "everything else" had to wait for stars.
The metallicity of a star is the fraction of its mass made of those everything-else elements. Astronomers call it Z, and for the Sun, Z = 0.014 — the Sun is 1.4% metals by mass. Hydrogen accounts for about 73.8% of the Sun's mass (called X), helium about 24.8% (Y), and that 1.4% rounding error is everything from lithium to uranium.
Z is fine for averages, but for individual stars astronomers prefer a more sensitive instrument: the iron abundance, expressed in the ratio [Fe/H]. The brackets and the slash are a logarithmic convention that lets you compare two ratios with one number:
How to read [Fe/H]
[Fe/H] is the base-10 logarithm of (a star's iron-to-hydrogen ratio) divided by (the Sun's iron-to-hydrogen ratio). So [Fe/H] = 0 is solar. [Fe/H] = −1 means one-tenth solar iron. [Fe/H] = +0.3 means twice solar iron. [Fe/H] = −2.5 means about 0.3% of solar iron — a star that retains the chemical fingerprint of an era long before the Sun was born.
Iron is a stand-in for "all metals" because its spectrum is dense with absorption lines that are easy to measure precisely. In practice [Fe/H] tracks the overall metal content well enough that astronomers use the words "metal-rich" and "high [Fe/H]" almost interchangeably.
The remarkable thing about that last number is that nothing in the laws of physics requires it to exist at all. Stars with [Fe/H] below −5 are statistically extreme. Each one is a survivor — a small star that formed nearly 13 billion years ago in a galaxy that had barely begun to enrich itself, and which has been quietly burning ever since. Finding them is one of the great treasure hunts of modern astronomy, and we'll come back to that hunt in the last section.