The useEffect allows to perform side effects in components. Some of these sideeffects are fetching data, DOM updation, timers.