The muds would harden into sedimentary rock and the plants and animals, or what was left of them, would harden into fossils.
(The muds; would harden; into sedimentary rock and the plants and animals)
The muds
would harden
into sedimentary rock and the plants and animals