The second argument in useReducer is used to define the default state of the component when the hook is first initialized.