what is the purpose for immigration and how does it affect society.