Laws and ethics

What is the difference between laws and ethics? How does each fit in the intelligence world?