A door is a movable barrier used in buildings to provide access. Doors are held in place by a door frame. The earliest doors date back to ancient Egypt and were made of wood. Different types of ancient doors included those made of olive wood, elm, cedar, oak and cypress. Modern doors come in many styles and materials depending on their purpose and location within residential or commercial buildings. Common door types include French doors, sliding doors, bifold doors and flush doors.