Pratham Software interview question

Difference between UseEffect and useLayoutEffect ?