Texas Instruments Interview Question

Describe how a PN junctions works.