Unlike England and Wales, Scotland voted heavily in favour of remaining in the EU – but because it's part of the UK, it will exit the union with the rest of the country after Friday's referendum result.
That's not something Scotland's first minister, Nicola Sturgeon, wants to happen. Sturgeon is the leader of the Scottish National Party, which campaigned (unsuccessfully) for Scottish independence in 2014.
Sturgeon said on Friday a second independence vote was now "highly likely" and she would work to keep Scotland in the EU, in accordance with its vote.
However, it's not strictly in Sturgeon's power to call a second EU referendum – this would likely have to be granted by the UK parliament in Westminster, and politicians in London have expressed reluctance to grant such a vote.
It's also possible that Scotland could attempt to hold an "indicative" second referendum without Westminster's involvement, though such a move would surely damage relations between the two administrations. If Scotland is determined to hold a referendum, its request may prove hard to deny.