This is the 4746th most frequent Polish word.
obcego
"Obcego" means "foreign" or "stranger" in English.
Here, 'obcego' serves as an adjective for the noun 'żołnierza' (soldier), describing him as foreign.
Zostałem zaatakowany przez obcego żołnierza.
I was attacked by a foreign soldier.
The word 'obcego' here acts as an adjective modifying the noun 'człowieka' (man), indicating a man who is foreign or unknown.
Nie ufam obcego człowieka.
I don't trust a stranger.
In this sentence, 'obcego' modifies the noun 'gatunku' (species), signifying that the species is foreign or unusual.