What are they? Ego is this case is not the measure of of how snobbish you be next to others, but simply a part of your mind. The ego is your logical thinking part of your mind, the one that plans out things and reasons out solution to problems. The id is the exact opposite. It is the subconscious instinct of self-benefit and self-preservation. If the id and ego are the devil and angel sitting on your shoulder then the superego is the scale tipping voice of society that tells us which to choose. The superego is like the “what does society expect of me as person” overseer ruling the warring ego and id parts of the brain. The ego is part of your consciousness, the id part of your subconsciousness, and the superego encompasses both.
Here is an example of how these three work in tandem (please note I not an expert). Let's say that you are walking down a street, it may be empty or filled with people, and you see a $20 bill lying on the ground. Your id would be screaming at you to pick up the money and run for it. Your ego would be considerate and would probably call for you to leave the money alone. The final verdict of the superego? It depends. The superego is consisted of your societies and your own values. If you saw the person drop the money your superego would side with your ego and you’ll return the money. But what if there is no one there to judge you or claim the money would you take it?