Indium (In) is a group 13 element and has 3 valence electrons, while silicon (Si) has 4.
When indium is doped into silicon, it creates holes (absence of electrons) because one valence bond remains unsatisfied.
These holes act as positive charge carriers, making the semiconductor a p-type.