Please write a genuine and meaningful answer to get a good ranking.
Donor impurities ( such as arsenic, antimony, bismuth, or phosphorus) when added to a pure semiconductor lattice, from N- type extrinsic semiconductor. The pentavalent impurities are called the donor type impurities as such impurities donate electrons to the lattice.
Acceptor impurities (such as boron, gallium, indium or aluminium) when added to pure semiconductor lattice form P- type extrinsic semiconductor. The trivalent impurities are called the acceptor type impurities because such impurities accept electrons from the lattice.