Diamond consists of carbon atoms that are covalently bonded in a network.
In a metal, positively charged atoms and a negatively charged “sea” of atoms create bonds.