Automotive fuel level sender project

Is this just to replace the fuel sensor or the gauge as well?