The main purpose of castles was to protect the people who lived there from invasions. They were also a status symbol to show other people how important a family was. Many ancient castles still stand in Europe today, and some of them have been home to the same family for many generations.