Ethics deals with what is good for individuals and society by establishing obligations and duties between people. It judges behaviors as right or wrong based on the motives and outcomes of actions, following principles like honesty and doing unto others as you would have them do unto you. While laws influence some professions, many ethical issues cannot be settled in courts and what is ethical is sometimes independent of legality. Ethical standards may conflict with existing laws, and there are no absolute ways to resolve all ethical dilemmas.