Graphite has a layered structure with carbon atoms bonded hexagonally in flat planes.