The lowly diode, a device with only two leads, can nonetheless do many things. Diodes can detect, rectify, suppress, emit light, detect light, change capacitance, emit microwaves and more.