It doesn’t. Personality is the sum total of every conscious and unconscious interaction you have with others. It’s the result of your brain structure and chemistry via neurotransmitters. Change the structure (like with a brain injury) or chemistry (like depression) and you will see changes in personality, though your family and friends will still see aspects of your personality shine through because other aspects of your brain structure, chemistry, and memories are intact.
Latest Answers