After millions of years the mud turns into solid rock and the remains are preserved as fossils .
(the mud; turns; into solid rock and the remains) (millions of years; are preserved; as fossils; T:the mud turns into solid rock and the remains)
the mud millions of years
turns are preserved
into solid rock and the remains
as fossils T:the mud turns into solid rock and the remains