tail lights have 2 bulbs, or 2 filaments in a single bulb, one is for tail light [dimmer one], one for brake light [brighter one], so the 2 wires are for the 2 functions, the ground is via the bolts that mount the light to the bed .... if you want to add turn signals you need to 'insert' them into the brake light circuit or add separate lights
Bill