How does ethics and law work together in the business world?

Much of the law is based on ethics. When a business operates ethically, they will not get in to legal trouble.