When a metal and a non metal reacts what is the bond formed

When a metal and a non-metal react, they typically form an ionic bond. In an ionic bond, the metal atom loses electrons to become a positively charged ion, while the non-metal atom gains these electrons to become a negatively charged ion. The positively charged metal ion and negatively charged non-metal ion are then attracted to each other and form a stable compound.