A civil law system is a legal framework that relies primarily on written statutes and comprehensive codes as a primary source of law, rather than case law or precedent. In this system, judges play a more investigative role in the courtroom, focusing on applying the codes to cases rather than interpreting the law.