Nizoral is an anti-fungal. It kills fungus that lives in your scalp that normally would cause irritation and accelerate the hairloss cycle.
In addition to that, the active ingredient in it is a mild anti-androgen, that does fight against some DHT in the scalp. No, it does not fight DHT all through your body, just in your scalp.