The chest cavity is lined by a thin shiny membrane called the pleura, which covers the inside surface of the rib cage and spreads over the lungs as well. Normally, the pleura produces a small amount of fluid which serves as a lubricant to the lungs as they move back and forth against the chest wall during respiration.