If you look it up it will give you plenty of information. This is what I found:
The valence electrons of metals move freely in this way because metals have relatively low electronegativity, or attraction to electrons. The positive metal ions form a lattice-like structure held together by all the metallic bonds. ... When nonmetals bond together, the atoms share valence electrons and do not become ions