chemical bonding occurs due to the transfer or sharing of electrons between atoms in order to achieve fully filled valence shells and the stable electronic configuration of a noble gas
metals tend to lose electrons
non metals tend to gain electrons or share electrons