Headphones supplied with mobile phones usually have a mic somewhere along the cable and a remote button ... Some manufacturers opt for placing a 3.5mm audio jack on this remote control instead ...
A cable used to send audio CD sound to the computer's sound card. When playing audio CDs, CD-ROM drives output analog sound to both a headphone jack and external connector just like a CD player.