The VGA cable is used to transfer the video signal and can be used when your laptop or PC has a VGA output and your TV has a VGA input. The 3.5mm cable is used to transfer the audio signal. The 3.5mm plugs attach to the headphone port on your laptop and audio input on your TV.
eBay