The superego incorporates the values and morals of society which are learned from one's parents and others.
The superego's function is to control the id's impulses, especially those which society forbids
The superego consists of two systems: The conscience and the ideal self.