Both diamond and graphite are allotropes of carbon, and their structures are based on strong carbon-carbon (C-C) covalent bonds. However, only graphite has delocalized electrons, and their bond lengths and hybridization differ.