Pergunta de entrevista da empresa LinkedIn

Explain how and why state management is used in react?