if something is formed from something else then that something else becomes that something & sedimentary substance are formed by roots compacting together ->  sediment becomes sedimentary rock by sediments compacting together  sediment becomes sedimentary rock by sediments compacting together & sedimentary stone is a mean of stone -> sediment becomes a kind of rock by sediments compacting together