What is the relationship of ethics and law?

Ethical values and legal principles are usually closely related, but ethical obligations typically exceed legal duties. In some cases, the law mandates ethical conduct. Examples of the application of law or policy to ethics include employment law, federal regulations, and codes of ethics.