fuel pump wire

It looks to me like an old electric pump someone mounted at one time. If your car was running without the wire hooked up I'm assuming you have a mechanical pump on the motor and its pulling fuel through the electric pump.

X2. I can't tell what that might have been.