According to Sigmund Freud, the ego is part of our personality that mediates the demands of the id, the superego, and reality. Freud described the id as the most basic part of personality that urges people to fulfill their most primal needs.
ego, in psychoanalytic theory, that portion of the human personality which is experienced as the “self” or “I” and is in contact with the external world through perception.