My car makes a humming noise while sitting in park, while off, and while driving on 2002 Chevrolet Tahoe

The sound stops when you unhook the battery.

Asked by for the 2002 Chevrolet Tahoe
get diagnostic run. sounds like failing pump.