A nucleus can capture one of the orbiting electrons. A proton changes into a neutron.
Loss: 1 proton Gain: 1 neutron