Graphite contains carbon atoms in hexagonal rings, which are joined to form layers. Graphite is a good conductor of heat and electricity. Since graphite contains free electrons, it is a good conductor of heat and electricity. Carbon in the form of graphite is useful in the preparation of pencils.