A bogle, boggle or bogill is a British (particularly Northumbrian and Scots) term for a ghost or folkloric being, used for a variety of related folkloric creatures including Shellycoats,Barguests,Brags,the Hedley Kow and even giants such as those associated with Cobb's Causey (also known as "ettins", "yetuns" or "yotuns" in Northumberland).
The name is derived from the Middle-English Bugge (of which the term bogey is also derived) which is in turn a cognate of the German term word bögge (of which böggel-mann ("Goblin") is derived) and possibly the Norwegian dialect word bugge meaning "important man". The Welsh Bwg could also be connected, and was thought in the past to be the origin of the English term; however, it has been suggested that it is itself a borrowing from Middle English. They are reputed to live for the simple purpose of perplexing mankind, rather than seriously harming or serving them.
One of the most famous usages of the term was by Gavin Douglas, who was in turn quoted by Robert Burns at the beginning of Tam O' Shanter