Pergunta de entrevista da empresa Health IQ

How does the virtual DOM work in React?