Qavi Technologies interview question

Tell useEffect and its use cases