The Raspberry Pi offers up its GPIO over a standard male header on the board. Over the years the header has expanded from 26 pins to 40 pins while maintaining the original pinout.
Key Improvements from Pi 2 Model B to Pi 3 Model B:
Next Generation QUAD Core Broadcom BCM2837 64bit processor
Processor speed has increased from 900MHz on Pi 2 to 1.2Ghz
Bluetooth Low Energy (BLE) on board
Upgraded switched power source up to 2.5 Amps (can now power even more powerful devices over USB ports)
Other Technical Specification:
4 pole Stereo output and Composite video port
CSI camera port for connecting the Raspberry Pi camera
DSI display port for connecting the Raspberry Pi touch screen display
Micro SD port for loading your operating system and storing data
Upgraded switched Micro USB power source (now supports up to 2.5 Amps)
The same form factor as the Pi 2 Model B, - the only difference is the location of the onboard LEDs
Element14 pin description, annotated