Carbon is ordinarily classified as a nonmetal but has some metallic properties and is occasionally classified as a metalloid. Hexagonal graphitic carbon (graphite) is the most thermodynamically stable allotrope of carbon under ambient conditions. It has a lustrous appearance and is a fairly good electrical conductor. Graphite has a layered structure. Each layer consists of carbon atoms bonded to three other carbon atoms in a hexagonal lattice arrangement. The layers are stacked together and held loosely by van der Waals forces and delocalized valence electrons.