UseSelector

I’m currently in the react-redux library course and I just got to the useSelector section, and my question is simply why do we have to use the hook as opposed to simply importing the selctorFunction and calling it directly like everything else we import from the slice files?