If you or your partner (spouse, domestic partner) are Spanish, then you can grant your or your partner's parents a residency, the residency by ARRAIGO FAMILIAR.
Although previously you also had that possibility through the Residencia de Familiar Comunitario (which still exists), it is true that it includes a series of requirements that are quite complex to prove.
FAMILY ARRAIGO makes access to residency more flexible for parents of Spaniards and their partners