Both are power connectors: the first one is a mini-peripheral power connector and is mainly used for floppy disks, card readers and other 3,50" devices. The second one is a peripheral power connector and was used to power hard drives, optical drives, and other internal devices; though it has been almost substituted by the SATA power cable.
The one in your picture looks like is missing the yellow +12V cable and one of the black cables, so it is most probably a cable to power a fan, a display, or other devices that only need +5v power. Furthermore, looks like it has one pin from the male connector stuck on, so it will be useless unless you can remove that with needle-nose pliers.
You can see pictures of the most used internal power connectors in the following page: All about the various PC power supply cables and connectors. I'm adding also a picture with pinouts for both connectors:
Any chance you could upload a better picture? I'm having a hard time seeing the bottom one. – Jarmund – 2015-07-13T08:06:49.690