Trantor interview question

how does React virtual DOM Works?