compaction is a kind of process & cementation is a kind of process ->  compaction and cememtation are kinds of processes  compaction and cememtation are kinds of processes & sedimentary rocks are formed by sediment compacting / cementing together -> sedimentary rocks are formed by sediment going through the processes of compaction and cementation