Ego states theory says that we have many parts of ourselves with different desires and agendas. When we grow up in relative safety, the various parts of ourselves have thinner walls around them that allow the different parts to communicate. When you have had a childhood that required you to develop extreme survival strategies or neglect, for example, the parts of self have thicker walls around them, making it more challenging to have a sense of an integrated Self. You might find that one part takes over entirely and does things that the other parts of you are unhappy about. Check out episode 36 of the Psychotherapy Central Podcast to learn more about dissociation and ego states.