Fossilization occurs when an organism is buried in sediment and gradually replaced by minerals. Animals with hard body parts, such as bones, shells, or teeth, are more likely to be preserved than animals with soft bodies, such as worms or jellyfish. This is because hard body parts are less likely to decay or be destroyed by scavengers.