the sending unit is a resistance which contains two cables, one is grounded and the other goes to the gauge so the resistance changes per the gas level, of course both thanks are the same. Then the fuel tank selector valve switches who's tank is sending the resistance to the gauge. In the image...