operation
between the i/0 is an independent darlington pairAn amplifier consisting of two bipolar junction transistor with their collectors connected together and the emitter of one connected to the base of the other circuit has an extremely high current gain and input impedance.
when an input is driven high the corresponding output will basically become an earth. alternately,when the input pin is ,low the output pin adopts a high impedance.