Animacy is a language’s classification of things based on how animate they are viewed to be. This can be different in different languages.
In English, the word ‘what’ is used for things considered inanimate, and ‘who’ is used for things considered animate.