What is ‘country code’? Is that stored somewhere on the phone?

I guess it doesn’t matter…I’m just curious. I can only presume it is a restriction on phones from the US.