Shoot the Spies, but if they touch you, they will plant a "Sapper", which drains your health. The wrench transfers the metal to health/ammo, and also removes Sappers, but it can only work when you kill a Spy.
Obviously, it's based on TF2.