Things that have been left behind by long dead organisms, such as skeletons made of rock, impressions in the ground, or entire organisms that haven't decayed yet
Body parts like bones, teeth, and shells decay slowly, and are gradually replaced by minerals, forming rock-like substances in the exact same shape and size as the original structures
Organisms are buried in a soft material like clay, and as the clay hardens, the organism decays, leaving a gap that's the same size and shape as the organism was