What happens when an atom gives up loosely held valence electrons to another atom?

sounds like ionic bonding