When an atom gains an electron, it becomes a