Famous Edinburgh residents of this period later known as the Scottish Enlightenment included David Hume , author of A Treatise of Human Nature and one of Britain 's greatest philosophers ; Adam Smith , author of The Wealth of Nations , a pioneer in the study of political economy ; and Joseph Black , the scientist who discovered the concept of latent heat .
Edinburgh was home to a lot of well known figures in society and history .