Hard body parts, such as bones and shells, which decay very slowly, are gradually replaced by minerals, forming rock-like substances. Animals can leave impressions or casts, such as footprints or burrows. These become covered by layers of sediment, which eventually become rock. Some parts of organisms may not decay at all. For example, dead animals and plants can be preserved in amber, peat bogs, tar pits, or in ice.