The National Records of Scotland is responsible for the arrangements for registering births, deaths, marriages, civil partnerships and other life events.
Their Registration Privacy Notice tells you what happens to personal information when a life event is registered.