Graphite is a covalent or network compound. The compound of this class is insulator generally but graphite is a good conductor of electricity because:
1
It has free electrons.
2
The covalent bond is weak in graphite.
3
Different layers can slide one over the other
4
It has hole present in it.