The electrical conductivity of graphite is due to the presence of delocalized electrons in its layered hexagonal structure.