The entrance (the space in a wall) through which you enter or leave a room or building; the space that a door can close.
A boy steps in a door and arrives a garden full of sunshine.
A moveable barrier that can be closed or open to control access to a building, a room, a car, an area, etc.