Kake interview question

How state works in React?