Some indefinite words also function as adjectives. How can we tell the difference? The indefinite adjectives will be followed by a noun, whereas the indefinite pronoun will not.
Adjective →
Algunas personas tienen acceso al edificio.
Some people have access to the building.
Pronoun →
Algunos hablaron con el gerente.
Some spoke with the manager.