Every law is crafted for a special reason that aims the betterment of the general public, the public interest, or the common good.
However, the provisions of the law are rendered meaningless if the public themselves, much more the students of law, are unaware of the significance of the provisions of the law and how they work.
The reason why some laws failed to achieve their objectives is the poor enforcement and lack of awareness of the people, who are supposed to know them specifically, members of the legal community.