The inner membrane is attached tightly to the lungs. It is known as the visceral pleura. The outer membrane is attached to the chest wall. It is known as the parietal pleura. The cavity between them is filled with pleural fluid.