What Is the Connection Between Transistors and Diodes?