Thank you so much sir  for answering question.
I joined a course where my instructor provided this code .There i found this code.
So here every line calculates  gradients of different variables involved in forward propagation.Is it right sir??