A P-MOSFET stacked on top of an N-MOSFET. The combination can drive the pin to either VCC or GND. Standard output stage for SPI and almost all modern digital pins.
How it looks
Drawing
Drawn as two switches. Only one is ever on.
How it works
Where it fits
Built from N and P MOSFETs; letting both go gives Hi-Z.