USB cables are designed specifically to connect devices that use the universal serial bus (USB) protocol. They are used to connect personal computers (PCs) and peripherals such as mice, keyboards, ...
Android phones have used various charger types, from Mini-USB to the now-ubiquitous USB-C. Here's a brief history of the cables you've got stuffed in a drawer.