Foreigner refers to a person who comes from or belongs to another country.
In legal terms, a foreigner is someone who is not a citizen or permanent resident of the country in question.
The term "foreigner" can also carry different connotations:
1. In casual speech, it may simply mean "someone from elsewhere"
2. In some contexts, it can imply "outsider" or "stranger"
3. In Chinese context, it's commonly translated as "外国人" or "老外"