When a leaf gets fossilized between two layers of rock it forms a carbon film.
These fossils are called carbon films because unlike other fossils they are rich in carbon because all the other elements that made the organisms' body have slowly disappeared over time leaving only carbon between the layers of rock.