Scotland is part of the UK. The people voted and decided that. That issue is done and dusted for at least a generation.
Scotland is part of the British Union. But it competes separately in international sports tournaments such as the FIFA world cup.
It also voted 63% to stay in another union, the European Union.
But the voice of the Scottish people is overruled by Westminster. Seems that Brussels takes care of its smaller members like Ireland better than Westminster takes care of its smaller members like Scotland or Northern Ireland