I'm in the process of learning how transistors works, which starts with understanding how doping is used to create n-type and p-type semiconductor materials. All the resources I read sort of explain this the same way, and I'm missing something. P-type semiconductors have extra holes and are predisposed to *accept* electrons, whereas n-type semiconductors have extra free electrons and are predisposed to *donate* them. This is the fundamental principle of how transistors work. But every resource emphasizes that in spite of this both n-type and p-type semiconductors are electrically neutral, which is where I'm lost. If one has extra electrons, and one is missing electrons, how are they electrically neutral and not charged? I seem to have a block about this or something, I just don't get it.