Moral codes represent a set of values and beliefs that define what is right and wrong in a society or culture.