Oil light not working

If the sender connector has 12 volts, and I hook it to the ground... won’t that like tig weld or something. Sarcasm. Guess it’s a ground wire and the sender completes the ground? So there won’t be 12 volts? I’m confused. Thanks