So, let's say you and your friend really want to play a game together but you can't agree on how to play it and keep arguing. What do you do? Well, you might make an agreement, which is basically like a promise to each other, that you will both play the game the same way and not argue anymore.
The Edinburgh Agreement is kind of like that, but instead of two friends, it was between two groups of people who wanted to make big decisions for a whole country, Scotland. The United Kingdom and Scotland couldn't agree on whether or not Scotland should become its own country, so they decided to make an agreement.
The Edinburgh Agreement said that Scotland could have a special vote called a referendum, where people who live in Scotland could decide if they want Scotland to be its own country or stay a part of the United Kingdom. The agreement also made sure that the United Kingdom would help Scotland make the referendum happen by providing things like ballot papers and polling stations.
Both the United Kingdom and Scotland agreed to follow the results of the referendum, which means if most people in Scotland voted to become its own country, then the United Kingdom would let that happen. This agreement allowed the people of Scotland to make this big decision in a fair and organised way, without any arguments or fights.