Elsevier interview question

Describe useEffect in React