The AdBlue pump sits inside or on top of the diesel exhaust fluid (DEF) tank. Its job is to pressurize the fluid to about 70 PSI and send it down the heated line to the injector. The pump assembly also houses a fluid heater, a temperature sensor, and a pressure control valve. When you turn off the engine, the pump runs in reverse, sucking the remaining fluid out of the lines back into the tank to prevent the water-based fluid from freezing and cracking the hoses in winter.
DEF fluid is highly corrosive to copper wires and electronics. If the internal seals of the pump leak, the fluid contacts the control circuit board, shorting it out. Running the tank completely empty can also burn out the pump motor because the fluid acts as a cooling lubricant.