When the assembly passes any bill it is called law. Simply we say that law is a set of rules and regulations. The set of rules and regulations made by the government or state for the welfare of the country. Laws are made to resolve disputes in the country. Sir John Austin gives a theory called the imperative theory of law which shows us, the law is a command which gives us sovereign authority. The sovereign authority is given to us for use and anyone who doesn’t use these rules then is imposed by the sanctions. Law comes from a superior authority and if we don’t obey the rules or break the rules then we are punished for that.
In nature, the law is a command that gives us justice and it has general applicability. Law is always binding which means you are bound to follow it and if you don’t follow the law then you get punished. Sovereign is essential for the enforcement of the law. The court is the superior authority to enforce the law. Punishment gives by the court. Same laws for everyone.