The legal age to drink and/or buy alcohol in Scotland is 18.
Currently it isn’t illegal to drink in public. However many areas have alcohol-free zones that target town centres and/or residential areas where there is a particular issue with drinking in public.