When we talk about carbon we need to consider its allotropes that have different index of behaviour when it comes to thermal conductivity and even electricity.
Diamond is one of the best thermal conductors known; in fact diamond is a better thermal conductor than many metals
.Now have a look (thermal conductivity (W/m-K)
Aluminum=237,
Copper=401,
Diamond=895).
The carbon atoms in diamond are sp3spX3 hybridized and every carbon is bonded to 4 other carbon atoms located at the vertices of a tetrahedron. Hence the bonding in diamond is a uniform, continuous 3-dimensional network of C−CC−C single (sigma) bonds.
Graphite on the other hand is formed from sp2spX2 hybridized carbon atoms that form a continuous 2-dimensional sigma and pi bonding network. This 2-dimensional network forms sheets of graphite, but there is little connection between the sheets, in fact, the sheet-sheet separation is a whopping ~3.4 angstroms.
There are two ways in which heat is transmitted through solids:
phonons and electronic conductivity.
The electronic conductivity. occurs in electrically conductive solids, where conduction band electrons are free to move throughout the structure, carrying thermal energy along with them. This is a significant component to the thermal conductivity of metals and explains some of the in-plane conductivity of graphite.
Electrically conductive solids tend to also be good thermal conductors for this reason, but this mode of conduction is not accessible to diamond.
Phonons are very complicated, but conceptually, phonons are waves of vibrations in the lattice of a solid.
(Vibrational energy in one part of a solid will be transmitted to other parts of the solid as phonons.
What limits how quickly heat is transferred by this mechanism is phonon scattering.
Phonons can scatter on many different things: crystal defects, impurities, crystal boundaries, even other phonons.
This is why crystalline substances (like diamond) tend to have higher thermal conductivity than amorphous ones (like glass or polymers) as the phonons scatter more when they don't have a nice ordered crystal structure to travel through.
The reason why diamond, in particular, is an especially good thermal conductor even compared to other well-ordered crystals boils down to two factors: the mass of the carbon atoms and the strength of the bonds connecting them.
The reason why diamond, in particular, is an especially good thermal conductor even compared to other well-ordered crystals boils down to two factors: the mass of the carbon atoms and the strength of the bonds connecting them. I don't want to get too much into the details, but briefly, much as a harmonic oscillator has a higher frequency with a stronger spring (the strength of the C-C bonds) and a lighter mass (the C atoms), diamond can support higher energy phonons. This means that at a given temperature, fewer phonons near the material's limit will be present in diamond than a material with a smaller limit.
When phonons near the limit interact, they scatter in such a way that the phonons don't travel through the structure. Because diamond's limit is so high, the probability of this type of scattering is lower. Hence even when diamond is used as a tool for cutting, it does not over heat.
Phonons and electrons travel very well along graphite's graphene sheets, but poorly between them, due to weak inter-layer interactions and the large distance between layers. It is entirely for this reason that even graphite does not overheat.