ASAP PLEASE Which of the following is formed when an atom gains or loses electrons?

a. an element

b. a compound

c. a molecule

d. an ion