The attached file explains bonding in metals and semiconductors

Image result for the relation between  formation of molecular orbitals and conductivity of materials