The legal system is often divided into two broad categories: civil law and criminal law. While both exist to uphold…