Microsoft interview question

Why do we need to call optim.zero_grad()?