In astronomy metal refers to all chemical elements in a star that are heavier than helium. In this sense the first four "metals" collecting in stellar cores through nucleosynthesis are carbon, nitrogen, oxygen, and neon. A star fuses lighter atoms, mostly hydrogen and helium, into heavier atoms over its lifetime. The metallicity of an astronomical object is the proportion of its matter made up of the heavier chemical elements.