Question d’entretien chez Texas Instruments

How does a diode work?