The Church of Scotland has a Presbyterian structure, which means it is organised under a hierarchy of courts. Traditionally there were four levels of courts: the Kirk Session (at congregational level), the Presbytery (at local area level), the Synod (at a regional level) and the General Assembly (the Church's highest court).
It is the presbyteries which have oversight of parishes and pastoral responsibility for parish ministers, and the Kirk Sessions of the individual parishes are subordinated to them. A parish minister is answerable to the Presbytery, not to the Kirk Session.