The Molex 4-pin power connector is one of the standard peripheral power connectors in computers today. The power connector itself is a Molex 8981 connector, the AMP MATE-N-LOK.
CPU Power Cable Guide: Know What You Need!
Below is the pinout for the standard Molex 4-pin peripheral power connector from version 2.2 of the ATX specification (PDF).
Molex connectors provide power to the various components of a computer, such as the motherboard, fans, floppy and disk drives, and more.
The 4-pin Molex power connector is the standard connector for all PATA-based hard drives, many high-end video cards, and some older optical drives and other internal devices.