Connecting doors, also known as communicating doors, are often used between adjoining rooms in hotels or cruise ships. They allow families or groups to open both doors and pass between the two rooms. When the rooms are occupied by separate groups, the doors can be locked to maintain security and privacy.