Sedimentary rocks. They form from accumulated sediment (sand, mud, organic matter) in environments where organisms live and die—ideal for fossilization. Key conditions: rapid burial, low oxygen, hard parts (bones, shells).
Examples: Limestone (marine shells), Sandstone (land organisms in dunes), Shale (fine mud, marine fossils).
Fossils rarely survive in metamorphic rocks (distorted by heat/pressure) and almost never in igneous rocks (incinerated by magma).