An ionic bond is formed when a non-metal and a metal form a bond by transferring electrons.
An ionic bond is formed when a metal transfers electrons to a non-metal.