WM is right, the Scotch voted for devolution from Westminster in 1997.
The Scottish parliament has a certain degree of independent action on things like Education, Health, Environment, Transport etc. The recent release of the chap who was convicted of the Lockerbie bombing from a scottish prison was a product of devolution, decided by the Scots justice minister (although even before devolution the Scotch have always retained their own separate legal system)
Westminster retains a firm grip on the purse strings although the Scotch are allowed to vary the basic rate of income tax in Scotchland by (i think) 3p but they have never used it. There's talk of handing more tax raising powers to Scotland as it would allow Westminster to cut back on expenditure.
The last Scottish parliamentary elections produced a minority Scottish nationalist government who desire true independence but it would have to be approved in a referendum of the Scottish people and, so far at least, all polls suggest there aren't the numbers to win such a vote. However, with the prospect of a Conservative government in Westminster this may change (the Scotch have an intense hatred of all things Tory thanks to Margaret Thatcher).
The Nationalists want to hold a referendum after the next Westminster elections and it would be in the Conservatives interests to get rid of Scotland and their many Labour MP's altogether.
If you're still awake at the end of that...well done