Step 1: Think about how a fossil forms:
A fossil needs a dead organism to be covered quickly by mud, silt or sand before it rots or gets eaten. The covering must be soft enough to take the shape of the body and then harden slowly.
Step 2: Link it to rock type:
Only sedimentary rocks form in this way, by settling and hardening of loose material in layers. So the remains lie preserved between the layers, and the lower layers hold the older fossils.
Step 3: Test the other rock types:
Igneous rock starts as molten magma or lava, hot enough to destroy any organism. Metamorphic rock is old rock that has been baked and squeezed, and this damages whatever fossil it held. Neither gives a good home for fossils, so the choice 'All of these' is not right.
Step 4: Final Answer:
The rock that holds fossils is sedimentary rock, option (A).
\[ \boxed{\text{(A)}} \]