The rapid neutron capture process, or r-process, is a nucleosynthesis mechanism in which atomic nuclei rapidly capture neutrons, resulting in the creation of heavier elements. This process occurs in extreme astrophysical environments, such as supernovae and neutron star mergers, where high neutron fluxes are present, allowing for the formation of elements heavier than iron through a series of beta decays.