What is the Due Process Clause?

There are two due process clauses, the due process clause of the 5th amendment and of the 14th amendment. Both state that the government must respect all of the legal rights that are owed to a person according to law. However, the 5th amendment applies to the federal government and the 14th amendment applies to state government.