The main purpose of the Apple data cable:
When the Apple data cable is used for charging, one end is connected to the Apple data line interface, and the other end of the USB interface is connected to the USB port of the charger, and it can be used for charging after plugging in the power supply.
When the Apple data cable is used to read data, one end is connected to the Apple data line interface, and the other end is connected to the USB interface of the computer to read the data.