Neutron capture is a nuclear reaction in which an atomic nucleus absorbs a neutron, often resulting in the formation of a heavier isotope or a different element altogether. This process plays a crucial role in nucleosynthesis, particularly in the s-process and r-process, where it contributes to the formation of elements heavier than iron in stars.