What is Query Duration meaning ?

In the Query monitor, what does the duration means. Is that the duration taken for the query to be completed on sql end or is it the overall time taken for users response from client to server and then response to client?

Thanks in advance!!