In some places, if you live with a partner for a certain amount of time, you can be considered ‘common law’ partners. This means that you have some legal rights, comparable to a married couple. While common-law marriages are recognised in some parts of the world, they aren't in Scotland and the UK.
This law doesn’t exist in Scotland, but there are laws to protect your rights and assets if you are unmarried and living with your partner.
It's important to know that these aren't the same rights as couples who are married or are in a civil partnership have, but they do go some way towards protecting your property.