The biggest one goes on the motherboard, the ones with 4 wires go to the hard drives and CD/DVD drives. The smallest one goes to a floppy if you have one. There may be a 4 pin, square one that goes to the motherboard too. Also if you have a PCI-ex video card, a 6 pin, rectangular one goes to it.