 A functionally complete logic system may be composed of relays, valves (vacuum tubes), or transistors.The simplest family of logic gates uses bipolar transistors, and is called resistor–transistor logic (RTL).Unlike simple diode logic gates (which do not have a gain element), RTL gates can be cascaded indefinitely to produce more complex logic functions.