According to Sigmund Freud, the job of the ego or self is to balance the violent or happy behaviors of someone's id with respect to moral influences.
Sigmund Freud was a neurologist and the founder of psychoanalysis theory in the country of Austria.
The work of the ego or self in the context of the personality theory of Freud is to create a balance between the urges of ids and the external factors from the outside world. It is actually focused on maintaining stability between the aggressiveness or violence of a person's behavior with respect to its moral pressures.
Therefore, the process of balancing the happy or violent moods of a person with the moral influence of the superego is done by the ego or self.
Learn more about the Freud in the related link:
https://brainly.com/question/26698995
#SPJ4