lex sanguinis

(en. Law of blood) countries that confer citizenship based on your descent rather than based on the country you were born is are said to have lex sanguinis.

lex solis

(en. Law of soil) law of countries where citizenship is conferred by virtue of where you born rather than by descent.