Job Recruitment Website - Immigration policy - What are the procedures for children to study abroad accompanied by adults? Barcelona, Spain

What are the procedures for children to study abroad accompanied by adults? Barcelona, Spain

It seems that I have never heard of anyone in Spain who has parents to accompany him, so it is probably impossible to check out on the grounds of accompanying him. Personally, I think that if parents can invest and set up shops in Spain, buy houses and emigrate, or have legal and stable jobs, they can stay in Spain for a long time in a legal capacity.