The plant or animal must be encased in a substance that prevents destruction or erosion. Ice, tar, or layers of mud or clay can isolate the remains from sunlight, air, and consumption by other lifeforms. Over time, a mineralized form or a rock cast will result in a fossil or fossil imprint.