The id is the primitive and instinctive component of personality, and the ego is the part of the id which has been modified by the direct influence of the external world. The superego incorporates the values and morals of society which are then learned from one's parents and others. So that the superego incorporates the values and morals of society which are learned from one's parents and others.