Answer: D. One atom gives up an electron to another atom.
Step-by-step explanation:
Ions are formed when there is a gain or loss of electrons.
Since the only answer that involves the loss (though gain is applicable) of electrons is D, it seems to be our only plausible answer.
We can justify this using real world applications: Let us take an everyday condiment: Salt, also known as NaCL, (Sodium Chloride) to provide further insight.
Na would transfer or in this context, "give up" its electron to another atom, this atom being Cl. Thus creating the Na+ ion (loss of electron cation) and its respective, Cl- ion (gain of electron anion)