A rampart is a defensive wall forming part of a fortification, typically an earthwork topped with a parapet. It provided a raised fighting platform for defenders, designed to protect against assault. These structures were fundamental to ancient and medieval military architecture.