Castles in Scotland in the Thirteenth Century

Photograph of Rothesay Castle

  Why were castles built in Scotland in the thirteenth century - who lived in them and what was life in a castle like?