A dedicated hardware pin has a hardcoded destiny. A UART TX pin will only ever transmit serial data; a power pin will only ever supply voltage. Their identity is forged in silicon and cannot be changed.
The general-purpose input/output (GPIO) pin rejects this fixed destiny. It is physically connected to the outside world, but internally, it is routed through a complex multiplexer. It is a blank slate, capable of being an input sensing a button, an output driving a motor, or a clock line for a high-speed bus.
It has no identity of its own. It sits in a state of pure potential, waiting for the software to write a configuration register. The physical hardware is completely undefined until the ephemeral code decides what it is allowed to be.
!The Pin Waits for its Purpose