Buffer gate purpose?
All digital logic circuits require an external power supply.  The power supply and Ground connections are frequently not shown in circuit diagrams.

A single transistor as the output will result in an "open collector" output - the gate can only pull the output low, due to the transistor between the output pin and Ground.  Some external device would be required to pull the ouptput "High".