Infosys interview question

Explain React in depth working