The ego is the mediator or regulator of the personality because it works out realistic ways of satisfying the id's demands, while also seeking to satisfy the superego by considering realities, norms, and etiquette and avoiding negative societal consequences.