An excerpt from "Got Questions.org" entitled, "What is the law of sin and death (Romans 8:2)?" states: "Paul contrasts two laws: the law of the Spirit and the law of sin and death. The law of the Spirit is the gospel or good news of Jesus, the message of new life through faith in the resurrected Christ. The law of sin and death is the Old Testament Law of God. The Law is holy, just and good (Romans 7:12), but, because we cannot keep God’s Law on our own, the result is only sin and death for those under the Law." This article may be viewed at: What is the law of sin and death/gotquestions.org
Reference: Romans 8:2