Cognixia interview question

what is react and how it works, explain virtual DOM.