Initially, castles were built out of wood, but eventually, people made castles from stone because they were stronger and lasted longer. Castles usually consisted of a group of buildings that were surrounded by a huge wall and a moat designed to keep attackers out.