Now, of course to some extent the ego gets its sense of reality from the senses, from its direct observation of the world, but not entirely, and the reason for this, Freud thought, was that as children we learned that reality through direct experience  is very important, but also through teaching and education from our parents and as a result parental authority represents the demands of reality.