Machicolation

A corbelled-out gallery at the top of a fortification with holes at its base for defensive observation of the enemy or offensive discharging of projectiles and burning materials on to attackers.