Aventude interview question

Difference between useReducer and useState