Flail chest occurs when a segment of the rib cage breaks in multiple places and moves paradoxically compared to the rest of the chest wall, severely impairing breathing and often indicating high-energy trauma. It is a medical emergency requiring hospital care.