In psychoanalytic theory, the id, ego and super-ego are three distinct, interacting agents in the psychic apparatus, defined in Sigmund Freud's structural model of the psyche. The three agents are theoretical constructs that Freud employed to describe the basic structure of mental life as it was encountered in psychoanalytic practice. Freud himself used the German terms das Es, Ich, and Über-Ich, which literally translate as "the it", "I", and "over-I". The Latin terms id, ego and super-ego were chosen by his original translators and have remained in use.
In the ego psychology model of the psyche, the id is the set of uncoordinated instinctual desires; the super-ego plays the critical and moralizing role; and the ego is the organized, realistic agent that mediates between the instinctual desires of the id and the critical super-ego; Freud compared the ego (in its relation to the id) to a man on horseback: the rider must harness and direct the superior energy of his mount, and at times allow for a practicable satisfaction of its urges. The ego is thus "in the habit of transforming the id's will into action, as if it were its own."
Freud introduced the structural model (id, ego, super-ego) in the essay Beyond the Pleasure Principle (1920) in response to the unstructured ambiguity and conflicting uses of the term "the unconscious mind". He elaborated, refined, and formalised that model in the essay The Ego and the Id (1923).
The terms "id", "ego", and "super-ego" are not Freud's own; they are latinisations by his translator James Strachey. Freud himself wrote of "das Es", "das Ich", and "das Über-Ich"—respectively, "the It", "the I", and "the Over-I". Thus, to the German reader, Freud's original terms are to some degree self-explanatory. The term "das Es" was originally used by Georg Groddeck, a physician whose unconventional ideas were of interest to Freud (Groddeck's translators render the term in English as "the It"). The word ego is taken directly from Latin, where it is the nominative of the first person singular personal pronoun and is translated as "I myself" to express emphasis.