Fossil: This is the most common answer. Over time, the remains of ancient organisms, like dinosaurs, plants, or insects, can become trapped in sediment that eventually hardens into rock. This fossilized remains can tell us a lot about life in the past.
Mineral Deposit: Minerals can be dissolved in water and then precipitated out, filling spaces within the rock or even forming new layers within the rock. This can lead to valuable ore deposits of things like gold, silver, or diamonds.
Fluid Inclusion: Small pockets of fluid, like water or oil, can get trapped within the crystals of rocks during their formation. These inclusions can provide information about the conditions under which the rock formed.
Gas: Natural gas, such as methane, can become trapped in rocks, particularly in porous sedimentary rocks like shale. This is how we extract natural gas for fuel.
Other possibilities: There are many other things that can be trapped in rock, depending on the specific circumstances. These could include:
* Air: Some rocks may contain tiny pockets of air trapped during their formation.
* Organic matter: Plant and animal debris can be preserved within rocks, sometimes undergoing chemical transformations to form coal or oil.
* Trace elements: Tiny amounts of various elements can become incorporated into the crystal structure of rocks.
So, the answer depends on what is trapped in the rock!