Ego defense mechanisms are unconscious psychological strategies employed by the ego to manage anxiety and maintain self-esteem. They operate by distorting reality in various ways, allowing individuals to cope with stress and internal conflicts without conscious awareness.