The key condition is:
$dist[w]>dist[v]+weight(v,w)$
This checks whether the path:
$source\rightarrow\cdots\rightarrow v\rightarrow w$
is shorter than the best currently known path to $w$.
If so, it performs:
$dist[w]=dist[v]+weight(v,w)$
This operation is called edge relaxation.
The new tentative distance is then inserted into a priority queue.
This is the central operation of Dijkstra's algorithm.
$\therefore$ Answer: D