Fossilized bones of dinosaurs do not decompose because they are replaced by minerals that don’t break down easily. When an animal dies, its body starts to decay and fall apart. But if it's buried quickly by sand or mud or other material, then it won't be able to rot properly and will end up as a fossil instead!