Etymology
Today it means: A passage that can be closed by use of a gate. Full definition →
From gate + way.
Etymology from Wiktionary, CC BY-SA 4.0.