The Baofeng UV-21 V2 is programmed using a USB to Audio/Mic cable. The cable that is included with the radios usually has a Prolific chip, but could be FTDI/ WCH or another make. To program the radio software called Chirp is used, this is a free download. Please note that the USB C type port is only for charging, this isn't a data port unfortunately.

BaoFeng/QYT Programming Cable Driver (FTDI)
File: CDM v2.12.36.4 WHQL Certified.zip
a8654caa76151e92161e2767294337039189ac3bab3a794dbac791cd1901172b
BaoFeng/QYT Programming Cable Driver (Prolific)
File: P3200.exe
807b8a5a61c7d30149d65f0862eef51fc86e322b96a956ba04ae30fec266632e
BaoFeng/QYT Programming Cable Driver (WCH CH340)
File: CH341SER.ZIP
0b1da457085bdf981ca24de2ab72a24b6460b52375ac886abff0dbec79d360ec