This is when the Scottish Prison Service gives a prisoner unescorted access to the community for a short time. This is usually for 1 day, but can be up to 8 days. For more information on why temporary release is given, see the Scottish Prison Service website.
When an accused person pleads not guilty to a crime, the case will go to trial. This is a proceeding where the court hears evidence from witnesses speaking to the alleged crime. At the end of the trial either a jury (in more serious cases) or a judge sitting alone (in less serious cases) will decide whether the prosecutor has proven the guilt of the accused or not.