Pregunta de entrevista de Pratham Software

Difference between UseEffect and useLayoutEffect ?