When discussing law and morality or law and justice, it is important to define the terms, from the below you will probably decide it is not possible to define what law IS, but it is possible to describe what it does and what rules apply. This is essentially a philosophical question, which probably has no answer, but some theorists have attempted to do so.