Helium and the heavier elements are synthesized in stars; this idea was first developed in 1956/57 by Fowler, Hoyle, and the Burbidges. Nucleosynthesis has occurred continuously in the Galaxy for many thousands of millions of years as a by-product of stellar evolution. While a star remains on the main sequence, hydrogen in its central core will be converted to helium by the proton-proton chain reaction or the carbon cycle; the core temperature is then about 107 K.
When the central hydrogen supplies are exhausted, the star will begin to evolve off the main sequence. Its core, now composed of helium, will contract until a temperature of 108 K is reached; carbon-12 can then be formed by the triple alpha process, i.e. by helium burning. In stars more than twice the Sun's mass a sequence of reactions, involving further nuclear fusion, produces oxygen, neon, and magnesium in the forms 16O, 20Ne, 24Mg, and then, at temperatures increasing up to about 3.5 × 109 K, 28Si to 56Fe. Even higher temperatures will trigger reactions by which almost all elements up to a mass number (A) of 56 can be synthesized. The iron-peak elements, i.e. 56Fe, 56Ni, 56Co, etc., represent the end of the nucleosynthesis sequence by nuclear fusion: further fusion would require rather than liberate energy because nuclei with this mass number have the maximum binding energy per nucleon.
The formation of nuclei with A ≥ 56 requires nuclear reactions involving neutron capture: neutrons can be captured at comparatively low energies because of their lack of charge. If there is a supply of free neutrons in a star, produced as by-products of nuclear-fusion reactions, the s-process can slowly synthesize nuclei up to 209Bi. An intense source of neutrons allows the r-process to generate nuclei up to 254Cf, or higher, in a very short period. Such intense neutron fluxes arise in supernovae.
The synthesized elements are precipitated into the interstellar medium by various mass-loss processes; these include stellar winds from giant stars, planetary nebulae, and nova explosions for elements up to silicon, and supernovae for the iron-peak elements and heavier nuclei.