Ego psychology is based on the work of psychoanalysts such as Heinz Hartmann, Erik Erikson, and Anna Freud. It focuses on the role of the ego in relation to the psyche's components – the Id and the Superego – in the formation of human behavior, rather than emphasizing the unconscious.