Wires are rarely connected directly to an electrical or electronic assembly. There’s almost always a terminal of some sort crimped or soldered to the end of the wire to interface with a pin, post, ...