Crenellations, or notched battlements on castle walls, were used during Medieval times to allow defenders to fire weapons at invading enemies while being protected. This architectural feature provided a strategic advantage in battles. Other structural elements like trusses, columns, and arches served different purposes and were not designed for defense. ;