A parapet originally meant a defensive mini-wall made of earth or stone that was built to protect soldiers on the roof of a fort or a castle. Now it indicates any low wall along the roof of a building, the edge of a balcony, the side of a bridge, or similar structure.