Acts as reducing agent in permanent waving formulations for hair treatment and in shrink-resistant treatment of wool