the object that gives up electrons becomes