CVS Health interview question

What is R^2 in regression and how is it used.