The Apple USB-C to Lightning Cable (2m) MKQ42AM / A is suitable for connecting devices with Apple Lightning port to computer or with charger USB-C.
Connect one end of the cable to the Apple device and insert the USB-C plug into the computer or any other device that has a USB-C port.
The Apple USB-C to Lightning Cable (2m) is suitable for both charging and syncing the device via PC. But also for connecting the device to a charger with a USB-C port