Pluto7 Interview Question

How does the Stochastic Gradient work in optimizing the neural network?