Answer:
A law is a written rule of conduct for society's members. Individuals who fail to follow a law are also punished. A code is a set of unwritten expectations or principles that members of a group are expected to follow. In some societies, a social code is more powerful than the law.