Answer:
Ethics are a thing of morals. They are someone's beliefs and opinions on what is right and wrong, and differ from person to person. Ethics are decided based on a persons upbringing, experiences, and social status; other things also play a part, but these are usually the most decisive factors. Ethics govern one's behaviour; people live their lives in many different ways based on these principals, despite the fact that a lot of the time there is no law telling them to, e.g. someone not swearing because they think it's wrong, despite there being nothing prohibiting them from doing so.
Law is the system of rules which a country and its inhabitants must abide. Laws are in place to make everyone behave "correctly", and while they do limit the actions of many, some do break them. If a person refuses to follow the law, or breaks one of them, they are punished either with a fine, jail time, and in some places, death.
Both ethics and law are meant to stop someone from behaving a certain way. They are both a set of rules, and while some of those rules are bent or broken in both cases, for the general population they do their job in making sure the person they're trying to control actually listen. You could also say both come with the threat of penalty if disobeyed; breaking the law is often followed by fines and sometimes jail time, breaking your ethics is often followed by intense feelings of guilt and sometimes effects on ones mental health.
However, unlike ethics, laws do not differ from one person to another, and are the same for everyone living in the subject country. For example, the law prohibiting murder applies to everyone, but the ethical choice not to smoke doesn't. Both have effects on peoples lives and how we all behave, but law is imposed by the government and is something that must not be broken, while you personally decide whether or not it's okay to break your morals; your ethics change as you grow and mature as a person, your laws do not.
Explanation:
i hope this is okay! i dont take this subject but ive been told im okay at writing, so im hoping it makes enough sense. its like 3am for me so im putting any spelling or grammar mistakes down to that lol. sorry if its not right! have a nice day/night