In psychology, the ego is most fundamentally understood as the "I" that perceives the self and makes decisions. Sigmund Freud's structural model of the psyche describes the ego as the component of personality that mediates between the instinctual desires of the id, the moral constraints of the superego, and the demands of the external world. The ego operates primarily at the conscious level, but also exists in the unconscious and pre-conscious.
Ego psychology, a school of psychoanalysis, focuses on the ego's functions, development (both normal and pathological), and adaptation to reality. It emphasizes the ego's role in managing impulses, utilizing defense mechanisms, and reality testing. A key aspect of the ego is its reliance on the "reality principle," which seeks to satisfy desires in realistic and socially acceptable ways, balancing internal needs with external constraints. A strong ego is characterized by a clear perception of reality, the ability to regulate emotions, and stable sense of self, which contributes to psychological well-being. Carl Jung viewed the ego as the center of consciousness, encompassing awareness of existence and individual identity.