Explain the solar cell mechanism by drawing p-n junction band diagram.

Explain the solar cell mechanism by drawing p-n junction band diagram. What happens when light create electron and hole pair in the n-region, p-region, and in the depletion region.