Etymology
Today it means: An outer defense work of a castle used to protect the entrance to the keep. Full definition →
From fore- + building.
Etymology from Wiktionary, CC BY-SA 4.0.