Specifically, it's an indefinite pronoun, meaning it refers to a nonspecific person, place, or thing.