A portcullis is a heavy grilled door or gate that is typically made of iron or wood, designed to secure the entrance of a castle or fortified structure. It can be dropped or raised vertically, often operated by a system of chains or ropes. The portcullis serves both defensive and protective purposes, allowing for the controlled entry of people while preventing unauthorized access during an attack. Historically, it played a crucial role in medieval architecture and fortification.