Codes of ethics have existed as long as human civilization to guide moral decision-making based on shared principles and values. Codes of conduct are a modern invention that focus more narrowly on regulating specific behaviors and ensuring compliance with rules through detailed provisions. While codes of ethics aim to promote ethical actions, codes of conduct take a more restrictive approach by emphasizing what should not be done rather than positive obligations.