The component of personality that is responsible for dealing with reality.
The ego operates based on the reality principle, which strives to satisfy the id's desires in realistic and socially appropriate ways.
The reality principle weighs the costs and benefits of an action before deciding to act upon or abandon impulses.