 When an organism is buried under many layers of sediment, pressure and heat increase during diagenesis and if the organism lacks a hard skeleton only leaving this thin film of carbon residue on rock surfaces.The soft tissues of organisms are made largely of organic carbon compounds.Sometimes, fossils contain only carbon.