help plzz
what was the main purpose of castles during the middle ages?
a) castles were built as luxury homes for the Lord and Lady
b) castles were built as centers of learning for people on the manor
c) castles were built as fortresses and provided protection for people on the manor in times of attack
d) castles were built as a center for the Catholic Church and all church services for people on the manor took place in the castle