Unlike diamond (another carbon allotrope), graphite is an electrical conductor, making it a semimetal. Graphite is the most stable form of carbon under standard conditions. As a result it is used in thermochemistry as the standard state for defining the heat of formation of carbon compounds.