What is the meaning of Inmate?

A person confined to an institution such as a prison (as a convict) or hospital (as a patient).

A person who shares a residence (such as a hotel guest, a lodger, or a student living on campus), or other place.

Source: wiktionary.org