Emigration is the act of leaving a resident country or place of residence with the intent to settle elsewhere (to permanently leave a country). Conversely, immigration describes the movement of people into one country from another (to permanently move to a country). A migrant emigrates from their old country, and immigrates to their new country. Thus, both emigration and immigration describe migration, but from different countries' perspectives.
Demographers examine push and pull factors for people to be pushed out of one place and attracted to another. There can be a desire to escape negative circumstances such as shortages of land or jobs, or unfair treatment. People can be pulled to the opportunities available elsewhere. Fleeing from oppressive conditions, being a refugee and seeking asylum to get refugee status in a foreign country, may lead to permanent emigration.