In diamond the carbon atoms are bonded to four other atoms. Whereas, in graphite each carbon atom is only bonded to three other atoms. Therefore, there are delocalised (free) electrons in graphite, which can move and carry a charge so graphite conducts electricty.