Why are there so many castles in Scotland? Castles were mainly used as the homes of clan leaders and used for defence purposes. This is why there are so many scattered around the country. They were valuable to hold on to power and protect the local communities.