Codifying laws refers to the process of systematically organizing and consolidating existing laws into a coherent code or system. This process became increasingly important in the 18th century as states sought to create uniform legal standards, enhance governance, and reduce the ambiguity of legal interpretations. The codification of laws represented a shift towards rationalization and centralization in governance, reflecting the growing influence of Enlightenment ideas and contributing to the modernization of state institutions.