 Connecting two diodes with wires will not make a transistor, since minority carriers will not be able to get from one P–N junction to the other through the wire.Both types of BJT function by letting a small current input to the base control an amplified output from the collector.The result is that the transistor makes a good switch that is controlled by its base input.