Pergunta de entrevista da empresa Intel Corporation

How does a PN junction diode work.