A territory is a piece of land that belongs to a country but isn’t a state.
Gibraltar is a territory of Great Britain.
Example picture