When colourless ZnO is strongly heated, the metal atoms are deposited on crystal surface and anions O2- migrate to the surface producing vacancies at anion lattice points.
These anions combine with Zn atoms forming
ZnO and release electrons.
Zn + O2- \(\rightarrow\) ZnO + 2e-
These released electrons diffuse into the crystal and occupy vacant sites of anions and produce F- centres. Due to these colour centres, ZnO turns yellow.
Let a small quantity of phosphorus be doped into pure silicon.