In diamonds, one carbon atom is bonded with four others to create a dense, cage-like crystal structure that is very hard. In graphite, one carbon bonds with three others to form flat layers that stack like a deck of cards and can slide apart (as seen by the trail of pencil lead).