When a metal and non-metal will bond, the non-metal will gain electrons.
When a metal and a non-metal bonds with each other. There take place an exchange of electrons between them.
The metals are the compound which has maximum 3 valence electrons in them so, they tends to lose the electrons. While on the other hand, the non-metal will required a maximum of three electrons to gain stability. Hence, they tends to gain electrons in the process of the formation of the bonds between metals and the non-metals.
The bond between the metal and the non-metals are called Ionic bonds.
To know more about ionic bonds, visit,
https://brainly.com/question/977324
#SPJ4