RealOEM.com * BMW E53 X5 3.0i Fuel pump and fuel level sensor
One is labelled as a sender, other is delivery unit.
You will notice both have a float on them (box with then metal rod sticking out of assembly).
One or both are probably defective. The test Qsilver linked will show you if that is the case.