This is the 11144th most frequent Russian word.
гостями
"Гостями" means "guests" (instrumental plural form).
The word 'гостями' here is used as an instrumental plural case, indicating their role.
Они пришли к нам гостями.
They came to us as guests.
The word 'гостями' is in the instrumental plural case, signifying participants in the action of communicating.
Мы общались с гостями весь вечер.
We conversed with the guests all evening.
Here, 'гостями' serves to specify the content filling the house, in an instrumental plural role.