A door is a panel or barrier, usually hinged, sliding, or electronic, that is used to cover an opening in a wall or partition going into a building or space. A door can be opened to give access and closed more or less securely.