what is a p type?
 P type means it is doped with free holes (electron depletion) and the N type is doped with electrons. Of course by physics, the free holes and free electrons would like to neutralize each other. 