How are ionic bonds formed?

A. sharing of electrons between atoms
B. gain of electrons by atoms
C. loss of electrons by atoms
D. electrostatic forces between atoms