When beta decay occurs a neutron decays into a proton and an electron is emitted. So is the electron also a product of the decayed neutron, like the proton, or is the electron that is released from the atom itself? If the electron isn't a product of the decayed neutron then where does the positive charge come from in the decay?