In order for a fossil to form, living things must die and then be buried by sediments. Sediments, such as mud, sand, or silt, gradually accumulate over the remains of the organism. Over time, the weight of the sediments compresses the organic material, causing it to undergo various processes of fossilization. These processes can include mineralization, where the organic material is replaced by minerals, or compression, where the material is flattened and preserved. Without the burial by sediments, the remains of the organism would be exposed to decay and decomposition, preventing fossilization from occurring.