A closure that may be opened, in a boundary meant to be crossed sometimes. A gate is a wall that expects passage.
Old English geat (opening, gate, passage), from Proto-Germanic *gatan; a wall that expects passage, unlike a wall with no such expectation.
A closure that may be opened, set in a boundary meant to be crossed sometimes: a wall that expects passage through it.