What are the primary purposes for Civil Law?

What are the primary purposes for Civil Law? The purpose of the law is to do what with us to Christ?