A portcullis is a heavy, vertically-closing gate typically made of wood or metal, used in medieval castles and fortifications to secure entrances and provide defense against intruders.