It is an indefinite pronoun
Definition:
An indefinite pronoun does not refer to any specific person, thing or amount. It is uncertain and "not definite". Some typical indefinite pronouns are: all, another, any, anybody/anyone, anything, each, everybody/everyone, everything, few, many, nobody, none, one, several, some, somebody/someone.