NoBroker interview question

What are lifecycle methods in react?