A document that allows an individual to reside legally in a country where they are not a citizen, often issued to foreign nationals living in the country for work or study.