Semiconductors are most often made from silicon. Silicon is an element with four electrons in its outer shell. To make a p-type semiconductor extra materials like boron or aluminium are added to the silicon. These materials have only three electrons in their outer shell. When the extra material replaces some of the silicon it leaves a 'hole' where the fourth electron would have been if the semiconductor was pure silicon.