The term is "nationality", it describes a person's legal bond and citizenship tied to a specific country, usually gained by birth or naturalization.

If you have never heard of that before then someone failed you during your education.