It is the Condenser (capacitor) for a sending unit most likely. It is needed to protect the gauge from burning out in the event of sender failure, and for smoothing any erratic pluses from the sender.
I've read that you can leave it disconnected in the event it is broken and to never bypass it by connecting the wire directly to ground.