Stellar nucleosynthesis and supernova nucleosynthesis produce heavier elements through nuclear fusion reactions. During the main sequence, hydrogen fuses in the proton-proton chain reaction or CNO cycle in stars. In red giant and supergiant stars, helium fuses through the triple-alpha process and alpha ladder. Supernova explosions produce very heavy elements through the rapid r-process. The slower s-process in massive stars also produces heavier elements than iron.
Related topics: