Laws are a set of rules and principles created by a government that regulates the behavior and actions of the community.