Pure silicon is a semiconductor with a valence of four. Aluminium is a Group 13 element and acts as a trivalent impurity (valence of three) when doped into silicon. When a trivalent impurity replaces a silicon atom in the crystal lattice, it creates a 'hole' (absence of an electron) in the covalent bond structure. These holes act as positive charge carriers, making the doped semiconductor p-type.