Timely for me - I've been down the rabbit hole lately of understanding how the elements are formed and got as far as stellar nucleosynthesis, s-process which involves neutron capture making a heavier isotope and then apparently the neutron turns into a proton through a process called beta decay. (So I'm all about the lifetime of neutrons right now!)