Why make both of these forms of silicon? We cannot go into your scientific details a lot of, but in the nutshell, pure silicon is not a very good conductor of electricity. Adding boron and phosphorus to silicon wafers introduces an electron imbalance, creating an electric subject within the intersection on the p-style and n-style silicon, often cal