Albendazole works by killing the worms causing infection in the body. After the treatment with antiparasitic salt, dying worms are excreted through the body.