One of the primary functions of Immigration Law is to regulate the flow of people across national borders. This law determines the conditions under which foreign nationals can enter a country, the documentation they must provide, and the procedures they must follow.