Superego is the internalized representation of the values and morals of society as taught to the child by the parents and others. The superego judges whether an action is right or wrong according to the standards of society.

The id seeks pleasure, the ego tests reality, and the superego strives for perfection superego develops in response to parental rewards and punishments.

It is composed of the science, which incorporates all the things the child is punished or reprimanded for doing, and the ideal, which includes those actions the child is rewarded for doing.