It is plugged into the corresponding output on the vehicle. These adapters usually have Bluetooth or Wifi connectivity and thus connect to the external device or an app on your smartphone. A number of functions can be performed via the OBD interface and the adapter. Error codes, data on fuel...