Categories, functions, and meanings have to be ascertained empirically, by running little experiments such as substituting a phrase whose category you don’t know for one you do know and seeing whether the sentence still works. Based on these mini-experiments, modern grammarians have sorted words into grammatical categories that sometimes differ from the traditional pigeonholes.

