Which structure of the mind acts according to the "reality principle"?

Which structure of the mind acts according to the "reality principle"?