One of the main purposes of the Civil Law, according to John Locke, is that it is an act that should be done by a state to maintain peace and order. People causing injury to other people must provide compensation, and should be punished as stated from the civil for its uncivil act done to the society.