Correct option is D
A typical PIN or APD structure has:
• p+ region → heavily doped
• n+ region → heavily doped
• i-region → intrinsic or very lightly doped
• p-region → lightly doped compared to p+
In an APD (Avalanche Photodiode):
• The p+ and n+ layers act as heavily doped contact regions.
• The i-region is lightly doped (nearly intrinsic) to allow high electric field and carrier multiplication.
• The p-region is also lightly doped to support depletion and avalanche action.
Therefore, the correct classification is:
Heavily doped: p+, n+
Lightly doped: i, p