Infosys interview question

What is react and why do you use it ?