There are conditions and your reaction to these conditions. The conditions are 1) what you want to do, 2) what your society wants you to do, and 3) what you decide to do and do in response to your desires and society. Freud called your desires id, societal pressures superego and your decisions ego. There should a balance for all of these. Otherwise there are problems.
Another way to put this is that the id is the internal world, the superego the external world, and the ego view and interaction of the internal and external worlds.