ego is the largely conscious, "executive" part of personality that, according to Freud, mediates among the demands of the id, superego, and reality. The ego operates on the reality principle, satisfying the id's desires in ways that will realistically bring pleasure rather than pain.