The word "home" can be used for various types of residential community institutions in which people can live, such as nursing homes, group homes (orphanages for children, retirement homes for seniors, prisons for criminals, treatment facilities, etc.), and foster homes.
quoted from various sources