OBD-II stands for On-Board Diagnostics.
The II means second generation of this protocol.

It is a protocol writing and agreed by the SAE and ISO, which describe the interchange between a car computer (ECU) and scanning tools to read and understand each other.
OBD-II also refer to the socket itself , where the scanner is plugged.